//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // test that includes , , and #include template void test_typedef() {} int main() { { // test for std::ptrdiff_t p; ((void)p); std::size_t s; ((void)s); std::nullptr_t np; ((void)np); } { // test for std::string s; ((void)s); } { // test for std::logic_error le("blah"); ((void)le); std::runtime_error re("blah"); ((void)re); } { // test for test_typedef(); test_typedef(); test_typedef(); test_typedef(); test_typedef(); } }