1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // test terminate_handler
13 #include <type_traits>
20 static_assert((std::is_same<std::terminate_handler, void(*)()>::value), "");
21 std::terminate_handler p = f;