Hrm, don't ask how I ran into this bug
authorChris Lattner <sabre@nondot.org>
Tue, 9 Nov 2004 05:06:23 +0000 (05:06 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Nov 2004 05:06:23 +0000 (05:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17640 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/RaiseAllocations/test.ll [new file with mode: 0644]

diff --git a/test/Transforms/RaiseAllocations/test.ll b/test/Transforms/RaiseAllocations/test.ll
new file mode 100644 (file)
index 0000000..0e229c6
--- /dev/null
@@ -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(...)