From 3777a33d71272871cb1bac22aaa182435c368feb Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 24 Dec 2016 00:40:45 +0000 Subject: fix newly failing c++03 tests llvm-svn: 290472 --- .../bind/func.bind/func.bind.place/placeholders.pass.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp') diff --git a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp index c1f2899f153..59709d0ed5b 100644 --- a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp @@ -57,6 +57,7 @@ constexpr decltype(std::placeholders::_10) cp10 = std::placeholders::_10; #endif // TEST_STD_VER >= 11 void use_placeholders_to_prevent_unused_warning() { +#if TEST_STD_VER >= 11 ((void)cp1); ((void)cp2); ((void)cp3); @@ -77,6 +78,7 @@ void use_placeholders_to_prevent_unused_warning() { ((void)default8); ((void)default9); ((void)default10); +#endif } int main() -- cgit v1.2.3