diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-17 06:42:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-17 06:42:57 +0000 |
commit | 6b7c89ee096146aefebc245c7d8741b69786655a (patch) | |
tree | 899a24b59687a5be1ef36c70dfc8283b04dd4a22 /test/Integer/simplecalltest_bt.ll | |
parent | 7a1b9bdd2b837b15c9213cdaf89cacc977e4600e (diff) | |
download | llvm-6b7c89ee096146aefebc245c7d8741b69786655a.tar.gz llvm-6b7c89ee096146aefebc245c7d8741b69786655a.tar.bz2 llvm-6b7c89ee096146aefebc245c7d8741b69786655a.tar.xz |
stop accepting begin/end around function bodies in the .ll parser, this isn't pascal anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/simplecalltest_bt.ll')
-rw-r--r-- | test/Integer/simplecalltest_bt.ll | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/Integer/simplecalltest_bt.ll b/test/Integer/simplecalltest_bt.ll deleted file mode 100644 index 45dc0f1aac..0000000000 --- a/test/Integer/simplecalltest_bt.ll +++ /dev/null @@ -1,28 +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 - -%FunTy = type i31(i31) - - -define void @"invoke"(%FunTy *%x) -begin - %foo = call %FunTy* %x(i31 123) - ret void -end - -define i31 @"main"(i31 %argc, i8 **%argv, i8 **%envp) -begin - %retval = call i31 (i31) *@test(i31 %argc) - %two = add i31 %retval, %retval - %retval2 = call i31 @test(i31 %argc) - - %two2 = add i31 %two, %retval2 - call void @invoke (%FunTy* @test) - ret i31 %two2 -end - -define i31 @"test"(i31 %i0) -begin - ret i31 %i0 -end |