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