aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/RaiseAllocations
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-09 05:06:23 +0000
committerChris Lattner <sabre@nondot.org>2004-11-09 05:06:23 +0000
commit99159b91e55ea9b6f4726d39acc2b8cbef0fee73 (patch)
tree027d69511bd61502c38f0dbb774ba6cd6fcebfc9 /test/Transforms/RaiseAllocations
parent710d1ce4f014be39e1f83a0fa4891098ba398ee7 (diff)
downloadexternal_llvm-99159b91e55ea9b6f4726d39acc2b8cbef0fee73.zip
external_llvm-99159b91e55ea9b6f4726d39acc2b8cbef0fee73.tar.gz
external_llvm-99159b91e55ea9b6f4726d39acc2b8cbef0fee73.tar.bz2
Hrm, don't ask how I ran into this bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/RaiseAllocations')
-rw-r--r--test/Transforms/RaiseAllocations/test.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/RaiseAllocations/test.ll b/test/Transforms/RaiseAllocations/test.ll
new file mode 100644
index 0000000..0e229c6
--- /dev/null
+++ b/test/Transforms/RaiseAllocations/test.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | opt -raiseallocs -disable-output
+implementation ; Functions:
+
+void %main() {
+ %tmp.13 = call int (...)* %free( int 32 )
+ %tmp.14 = cast int %tmp.13 to int*
+ ret void
+}
+
+declare int %free(...)