diff options
Diffstat (limited to 'test/Transforms/SimplifyLibCalls/ExitInMain.ll')
| -rw-r--r-- | test/Transforms/SimplifyLibCalls/ExitInMain.ll | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/Transforms/SimplifyLibCalls/ExitInMain.ll b/test/Transforms/SimplifyLibCalls/ExitInMain.ll deleted file mode 100644 index 8abf3b1cc46b..000000000000 --- a/test/Transforms/SimplifyLibCalls/ExitInMain.ll +++ /dev/null @@ -1,15 +0,0 @@ -; Test that the ExitInMainOptimization pass works correctly -; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \ -; RUN: grep {ret i32 3} | count 1 -; END. - -declare void @exit(i32) - -declare void @exitonly(i32) - -define i32 @main() { - call void @exitonly( i32 3 ) - call void @exit( i32 3 ) - ret i32 0 -} - |
