aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(...)