From ce24f965f13b307029483e5a532dcdff30514847 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 28 Apr 2016 02:18:48 +0000 Subject: [PATCH] Provide member function definitions to avoid warnings. Patch from STL@microsoft.com git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267843 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp b/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp index c36a460af..5cadc0bf8 100644 --- a/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp +++ b/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