aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2004-02-08-UnwindSupport.llx
blob: 4aaddd6a42509bd0a7548bef916e05ac905c3f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as < %s | llc -march=x86 -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
}