llvm/test/Transforms/RaiseAllocations/2004-11-08-FreeUseCrash.ll
Tanya Lattner ce7d5db4d8 Upgrade tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48536 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-19 05:39:35 +00:00

11 lines
237 B
LLVM

; RUN: llvm-as < %s | opt -raiseallocs -disable-output
define void @main() {
%tmp.13 = call i32 (...)* @free( i32 32 ) ; <i32> [#uses=1]
%tmp.14 = inttoptr i32 %tmp.13 to i32* ; <i32*> [#uses=0]
ret void
}
declare i32 @free(...)