Cleanup quick_exit tests and get them passing in C++03.
authorEric Fiselier <eric@efcs.ca>
Wed, 19 Nov 2014 01:45:12 +0000 (01:45 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 19 Nov 2014 01:45:12 +0000 (01:45 +0000)
commit13d123ccf76e235e687b06d3ab6943d2fb5e2059
tree42b337abee952eb43f21ded6291048dac9999a69
parent638bb4a2a3ed7ed779f62096de361d41034fffd4
Cleanup quick_exit tests and get them passing in C++03.

Wrap the original test in _LIBCPP_HAS_QUICK_EXIT so it only runs when we have
quick_exit and add two new tests that check that when _LIBCPP_HAS_QUICK_EXIT
is not defined then no definition of std::at_quick_exit or std::quick_exit are
available.

llvm-svn: 222298
libcxx/test/language.support/support.start.term/quick_exit.pass.cpp
libcxx/test/language.support/support.start.term/quick_exit_check1.fail.cpp [new file with mode: 0644]
libcxx/test/language.support/support.start.term/quick_exit_check2.fail.cpp [new file with mode: 0644]