1; This test ensures that inlining an "empty" function does not destroy the CFG
2;
3; RUN: opt < %s -inline -S | not grep br
4
5define i32 @func(i32 %i) {
6        ret i32 %i
7}
8
9declare void @bar()
10
11define i32 @main(i32 %argc) {
12Entry:
13        %X = call i32 @func( i32 7 )            ; <i32> [#uses=1]
14        ret i32 %X
15}
16
17