blob: 2b952f9fbf35e6b51d0d55fc338f381ead2134b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; RUN: llvm-as < %s | llc -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
}
|