blob: 5ab038648dbd2cc2d1bb6e034d764603bad8d07a [file] [log] [blame]
Reid Spencerc6b896b2007-08-01 23:07:36 +00001; RUN: llvm-upgrade < %s | not llvm-as -f &| grep {not verify as correct}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; PR1042
3
4int %foo() {
5 br bool false, label %L1, label %L2
6L1:
7 %A = invoke int %foo() to label %L unwind label %L
8
9L2:
10 br label %L
11L:
12 ret int %A
13}