mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
For PR1319:
Changes necessary for conversion of this directory to run the tests under the llvm.exp version of llvm_runtest git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b88e5ecab
commit
af6676df04
@ -1,3 +1,3 @@
|
||||
load_lib llvm-dg.exp
|
||||
load_lib llvm.exp
|
||||
|
||||
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||
|
@ -1,5 +1,5 @@
|
||||
; Test that redefinitions of globals produces an error in llvm-upgrade
|
||||
; RUN: llvm-upgrade < %s -o /dev/null -f 2>&1 | \
|
||||
; RUN: llvm-upgrade < %s -o /dev/null -f |& \
|
||||
; RUN: grep "Renaming global variable 'B' to.*linkage errors"
|
||||
|
||||
%B = global int 7
|
||||
|
@ -1,8 +1,6 @@
|
||||
; When PR1067 is fixed, this should not be XFAIL any more.
|
||||
; RUN: llvm-as < %s -o /dev/null -f 2>&1 | \
|
||||
; RUN: ignore llvm-as < %s -o /dev/null -f |& \
|
||||
; RUN: grep "Redefinition of global variable named 'B'"
|
||||
|
||||
; Test forward references and redefinitions of globals
|
||||
; END.
|
||||
|
||||
@B = global i32 7
|
||||
@B = global i32 7
|
||||
|
@ -1,8 +1,9 @@
|
||||
; RUN: llvm-as < %s | llvm-dis > %t1.ll
|
||||
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
||||
; RUN: diff %t1.ll %t2.ll &&
|
||||
; RUN: not grep cast %t2.ll &&
|
||||
; RUN: grep "<{" %t2.ll
|
||||
; RUN: diff %t1.ll %t2.ll
|
||||
; RUN: not grep cast %t2.ll
|
||||
; RUN: grep '\<{' %t2.ll
|
||||
; END.
|
||||
|
||||
%struct.anon = type <{ i8, i32, i32, i32 }>
|
||||
@foos = external global %struct.anon
|
||||
|
Loading…
Reference in New Issue
Block a user