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// UNSUPPORTED: c++03
10
11// Class bad_function_call
12
13// bad_function_call();
14
15#include <functional>
16#include <type_traits>
17
18#include "test_macros.h"
19
20int main(int, char**)
21{
22 std::bad_function_call ex;
23
24 return 0;
25}
26

source code of libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.badcall/func.wrap.badcall.const/bad_function_call_ctor.pass.cpp