1 ; Test that we can inline a simple function, turning the calls in it into invoke
4 ; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | \
5 ; RUN: not grep {call\[^e\]}
7 declare void %might_throw()
11 internal void %callee() {
12 call void %might_throw()
16 ; caller returns true if might_throw throws an exception...
18 invoke void %callee() to label %cont except label %exc