blob: 7548b52ddef8911a493fbcdf26afa4632030c0dd [file] [log] [blame]
; This test ensures that inlining an "empty" function does not destroy the CFG
;
; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep br
int %func(int %i) {
ret int %i
}
declare void %bar()
int %main(int %argc) {
Entry:
%X = call int %func(int 7)
ret int %X
}