mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-22 16:37:40 +08:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user