fix newly failing c++03 tests

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-12-24 00:40:45 +00:00
parent 3678f7d6ee
commit 0a1cbcf2b7
2 changed files with 8 additions and 3 deletions

View File

@@ -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()