aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2004-02-08-UnwindSupport.llx
blob: 7dc4a6150a6d204f4c5b571df62cd39ef020d32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as < %s | lli -enable-correct-eh-support

int %test() {
  unwind
}

int %main() {
	%X = invoke int %test() to label %cont except label %EH
cont:
	ret int 1
EH:
	ret int 0
}