summaryrefslogtreecommitdiffstats
path: root/test/Transforms/RaiseAllocations/2004-11-08-FreeUseCrash.ll
blob: 10daa7620d22dbab540a684d702bde8f8e2949d9 (plain)
1
2
3
4
5
6
7
8
9
10
; 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(...)

OpenPOWER on IntegriCloud