diff options
Diffstat (limited to 'libcxx/test/utilities/function.objects/func.wrap/func.wrap.badcall')
2 files changed, 0 insertions, 46 deletions
diff --git a/libcxx/test/utilities/function.objects/func.wrap/func.wrap.badcall/bad_function_call.pass.cpp b/libcxx/test/utilities/function.objects/func.wrap/func.wrap.badcall/bad_function_call.pass.cpp deleted file mode 100644 index 357a3b48eae..00000000000 --- a/libcxx/test/utilities/function.objects/func.wrap/func.wrap.badcall/bad_function_call.pass.cpp +++ /dev/null @@ -1,26 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// Class bad_function_call - -// class bad_function_call -// : public exception -// { -// public: -// // 20.7.16.1.1, constructor: -// bad_function_call(); -// }; - -#include <functional> -#include <type_traits> - -int main() -{ - static_assert((std::is_base_of<std::exception, std::bad_function_call>::value), ""); -} diff --git a/libcxx/test/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp b/libcxx/test/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp deleted file mode 100644 index f5ab9487532..00000000000 --- a/libcxx/test/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp +++ /dev/null @@ -1,20 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// Class bad_function_call - -// bad_function_call(); - -#include <functional> -#include <type_traits> - -int main() -{ - std::bad_function_call ex; -} |

