summaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll
blob: 016fc5a4ab04fc88f54c8ff67de07c010bf9e728 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output

int %test() {
	unwind
}

int %caller() {
	%X = call int %test()
	ret int %X
}