blob: 8a966bb21ee330b8d4b27d60c41405fe5594cdf6 [file] [log] [blame]
Chris Lattner2f272062003-08-31 02:38:46 +00001; RUN: as < %s | opt -prune-eh | dis | not grep invoke
2
3implementation
4
5internal int %foo() {
6 invoke int %foo() to label %Normal except label %Except
7Normal:
8 ret int 12
9Except:
10 ret int 123
11}
12
13int %caller() {
14 invoke int %foo() to label %Normal except label %Except
15Normal:
16 ret int 0
17Except:
18 ret int 1
19}