summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-24 00:40:45 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-24 00:40:45 +0000
commit3777a33d71272871cb1bac22aaa182435c368feb (patch)
tree08f0fc08d91ad26d0d6deb91d64df7c4f3b6904b /libcxx/test/std/utilities/function.objects
parenta140cba79552ec4110643b5193b69228ea61d975 (diff)
downloadbcm5719-llvm-3777a33d71272871cb1bac22aaa182435c368feb.tar.gz
bcm5719-llvm-3777a33d71272871cb1bac22aaa182435c368feb.zip
fix newly failing c++03 tests
llvm-svn: 290472
Diffstat (limited to 'libcxx/test/std/utilities/function.objects')
-rw-r--r--libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.place/placeholders.pass.cpp2
1 files changed, 2 insertions, 0 deletions
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()
OpenPOWER on IntegriCloud