Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -disable-output |
2 | |||||
3 | implementation | ||||
4 | |||||
5 | declare int %foo() | ||||
6 | |||||
7 | void %caller() { | ||||
8 | br bool true, label %T, label %F | ||||
9 | F: | ||||
10 | %X = invoke int %foo() to label %T unwind label %T | ||||
11 | |||||
12 | T: | ||||
13 | ret void | ||||
14 | } |