summaryrefslogtreecommitdiffstats
path: root/llvm/test/Integer/forwardreftest_bt.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-17 06:42:57 +0000
committerChris Lattner <sabre@nondot.org>2011-06-17 06:42:57 +0000
commit4649a73cc3ddee98a9bf814fd426286c3c85abdc (patch)
treea2d95f374d20d83285113bb17ddfa056c07018f3 /llvm/test/Integer/forwardreftest_bt.ll
parentd463132f2727d75d9dce681591e1b9dcd7850563 (diff)
downloadbcm5719-llvm-4649a73cc3ddee98a9bf814fd426286c3c85abdc.tar.gz
bcm5719-llvm-4649a73cc3ddee98a9bf814fd426286c3c85abdc.zip
stop accepting begin/end around function bodies in the .ll parser, this isn't pascal anymore.
llvm-svn: 133244
Diffstat (limited to 'llvm/test/Integer/forwardreftest_bt.ll')
-rw-r--r--llvm/test/Integer/forwardreftest_bt.ll33
1 files changed, 0 insertions, 33 deletions
diff --git a/llvm/test/Integer/forwardreftest_bt.ll b/llvm/test/Integer/forwardreftest_bt.ll
deleted file mode 100644
index 5d73eff2f5a..00000000000
--- a/llvm/test/Integer/forwardreftest_bt.ll
+++ /dev/null
@@ -1,33 +0,0 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
-; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
-; RUN: diff %t1.ll %t2.ll
-
- %myty = type i55
- %myfn = type float (i55,double,i55,i16)
- type i55(%myfn*)
- type i55(i55)
- type i55(i55(i55)*)
-
- %thisfuncty = type i55 (i55) *
-
-declare void @F(%thisfuncty, %thisfuncty, %thisfuncty)
-
-; This function always returns zero
-define i55 @zarro(i55 %Func)
-begin
-Startup:
- add i55 0, 10
- ret i55 0
-end
-
-define i55 @test(i55)
-begin
- call void @F(%thisfuncty @zarro, %thisfuncty @test, %thisfuncty @foozball)
- ret i55 0
-end
-
-define i55 @foozball(i55)
-begin
- ret i55 0
-end
-
OpenPOWER on IntegriCloud