llvm-mirror/test/Transforms/RaiseAllocations/2004-11-08-FreeUseCrash.ll
Tanya Lattner f0dc625b4f Upgrade tests.
llvm-svn: 48536
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(...)