1 //===----------------------------------------------------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 // Class bad_function_call 11 12 // class bad_function_call 13 // : public exception 14 // { 15 // public: 16 // // 20.7.16.1.1, constructor: 17 // bad_function_call(); 18 // }; 19 20 #include <functional> 21 #include <type_traits> 22 main()23int main() 24 { 25 static_assert((std::is_base_of<std::exception, std::bad_function_call>::value), ""); 26 } 27