summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-04-28 02:18:48 +0000
committerEric Fiselier <eric@efcs.ca>2016-04-28 02:18:48 +0000
commit0f9e91acc8ebe73f6a9795b1450e2a95b4485012 (patch)
tree7c9f7efd5680219350955bf641a8f5970261cbf8 /libcxx/test/std/utilities
parentdeb384d10313dd10f02373c569b94e9d381fb508 (diff)
downloadbcm5719-llvm-0f9e91acc8ebe73f6a9795b1450e2a95b4485012.tar.gz
bcm5719-llvm-0f9e91acc8ebe73f6a9795b1450e2a95b4485012.zip
Provide member function definitions to avoid warnings. Patch from STL@microsoft.com
llvm-svn: 267843
Diffstat (limited to 'libcxx/test/std/utilities')
-rw-r--r--libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp2
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
OpenPOWER on IntegriCloud