1 //===----------------------------------------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 // Class bad_function_call 10 11 // class bad_function_call 12 // : public exception 13 // { 14 // public: 15 // // 20.7.16.1.1, constructor: 16 // bad_function_call(); 17 // }; 18 19 #include <functional> 20 #include <type_traits> 21 22 #include "test_macros.h" 23 24 int main(int, char**) 25 { 26 static_assert((std::is_base_of<std::exception, std::bad_function_call>::value), ""); 27 28 return 0; 29 } 30