diff options
-rw-r--r-- | libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp b/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp index c36a460af34..5cadc0bf8cb 100644 --- a/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp +++ b/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp @@ -53,7 +53,7 @@ constexpr bool throws_callable() { // once implementations have caught up. void test_noexcept_function_pointers() { - struct Dummy { void foo() noexcept; static void bar() noexcept; }; + struct Dummy { void foo() noexcept {} static void bar() noexcept {} }; #if !defined(__cpp_noexcept_function_type) { // Check that PMF's and function pointers *work*. is_nothrow_callable will always |