This way it's easier to test: if the call to external exit(0) succeeded,
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 13 Dec 2002 04:43:32 +0000 (04:43 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 13 Dec 2002 04:43:32 +0000 (04:43 +0000)
commit339ff0acb8ba54dc2289724eea0a8e4997c0d0fe
tree71de9639e26b4d13534073bf396bb0b7d2f01c76
parentb1224f2d0be5d7dab726d6978222db6860dc39f0
This way it's easier to test: if the call to external exit(0) succeeded,
program exits with code 0, no error. If the call does not work/succeed, main
returns 1, so we notice it. The other way around doesn't work. :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4984 91177308-0d34-0410-b5e6-96231b3b80d8
test/ExecutionEngine/test-call.ll