From 99159b91e55ea9b6f4726d39acc2b8cbef0fee73 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 9 Nov 2004 05:06:23 +0000 Subject: [PATCH] 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 --- test/Transforms/RaiseAllocations/test.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Transforms/RaiseAllocations/test.ll diff --git a/test/Transforms/RaiseAllocations/test.ll b/test/Transforms/RaiseAllocations/test.ll new file mode 100644 index 00000000000..0e229c69a95 --- /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(...)