1 ; Test that the ExitInMainOptimization pass works correctly
2 ; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep -c 'ret int 3' | grep 1
4 declare void %exit(int)
5 declare void %exitonly(int)
7 implementation ; Functions:
10 call void %exitonly ( int 3 )
11 call void %exit ( int 3 )