1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/Transforms/Inline/cfg_preserve_test.ll

16 lines
269 B
LLVM
Raw Normal View History

2003-08-24 06:06:04 +02:00
; This test ensures that inlining an "empty" function does not destroy the CFG
;
; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep br
2003-08-24 06:06:04 +02:00
int %func(int %i) {
ret int %i
}
declare void %bar()
int %main(int %argc) {
Entry:
%X = call int %func(int 7)
ret int %X
}