diff options
Diffstat (limited to 'test/Feature')
-rw-r--r-- | test/Feature/calltest.ll | 2 | ||||
-rw-r--r-- | test/Feature/globalredefinition.ll | 18 |
2 files changed, 0 insertions, 20 deletions
diff --git a/test/Feature/calltest.ll b/test/Feature/calltest.ll index feafd3cd20..dcdb1a0ae1 100644 --- a/test/Feature/calltest.ll +++ b/test/Feature/calltest.ll @@ -4,8 +4,6 @@ %FunTy = type i32 (i32) -declare i32 @test(i32) ; Test forward declaration merging - define void @invoke(%FunTy* %x) { %foo = call i32 %x( i32 123 ) ; <i32> [#uses=0] %foo2 = tail call i32 %x( i32 123 ) ; <i32> [#uses=0] diff --git a/test/Feature/globalredefinition.ll b/test/Feature/globalredefinition.ll deleted file mode 100644 index 42e2d1aeee..0000000000 --- a/test/Feature/globalredefinition.ll +++ /dev/null @@ -1,18 +0,0 @@ -; RUN: llvm-as < %s | llvm-dis > %t1.ll -; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll -; RUN: diff %t1.ll %t2.ll - -; Test forward references and redefinitions of globals - -@A = global i32* @B ; <i32**> [#uses=0] -@B = global i32 7 ; <i32*> [#uses=1] - -declare void @X() - -declare void @X() - -define void @X() { - ret void -} - -declare void @X() |