cxx/test/language.support/support.start.term/quick_exit.pass.cpp
2013-02-05 22:10:25 +00:00

24 lines
538 B
C++

//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// XFAIL: apple-darwin
// test quick_exit and at_quick_exit
#include <cstdlib>
#include <type_traits>
void f() {}
int main()
{
std::at_quick_exit(f);
quick_exit(0);
}