llvm-mirror/test/Transforms/RaiseAllocations/2004-11-08-FreeUseCrash.ll

11 lines
237 B
LLVM
Raw Normal View History

2008-03-19 05:39:35 +00:00
; RUN: llvm-as < %s | opt -raiseallocs -disable-output
2008-03-19 05:39:35 +00:00
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
}
2008-03-19 05:39:35 +00:00
declare i32 @free(...)