diff --git a/libcxx/test/std/containers/associative/map/map.ops/count1.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/count1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/count1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/count1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -23,10 +25,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -35,4 +33,3 @@ TEST_IGNORE_NODISCARD M().count(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/count2.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/count2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/count2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/count2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -23,10 +25,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -35,4 +33,3 @@ TEST_IGNORE_NODISCARD M().count(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/count3.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/count3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/count3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/count3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -23,10 +25,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -35,4 +33,3 @@ TEST_IGNORE_NODISCARD M().count(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/equal_range1.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/equal_range1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/equal_range1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/equal_range1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().equal_range(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/equal_range2.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/equal_range2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/equal_range2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/equal_range2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().equal_range(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/equal_range3.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/equal_range3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/equal_range3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/equal_range3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().equal_range(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/find1.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/find1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/find1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/find1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().find(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/find2.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/find2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/find2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/find2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().find(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/find3.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/find3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/find3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/find3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().find(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/lower_bound1.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/lower_bound1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/lower_bound1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/lower_bound1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().lower_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/lower_bound2.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/lower_bound2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/lower_bound2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/lower_bound2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().lower_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/lower_bound3.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/lower_bound3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/lower_bound3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/lower_bound3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -17,17 +19,12 @@ // equal_range shall not participate in overload resolution unless the // qualified-id Compare::is_transparent is valid and denotes a type - #include #include #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +33,3 @@ TEST_IGNORE_NODISCARD M().lower_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/upper_bound1.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/upper_bound1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/upper_bound1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/upper_bound1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().upper_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/upper_bound2.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/upper_bound2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/upper_bound2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/upper_bound2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().upper_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/map/map.ops/upper_bound3.compile.fail.cpp b/libcxx/test/std/containers/associative/map/map.ops/upper_bound3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/map/map.ops/upper_bound3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.ops/upper_bound3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().upper_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/count1.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/count1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/count1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/count1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -23,14 +25,9 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { typedef std::multimap M; TEST_IGNORE_NODISCARD M().count(C2Int{5}); } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/count2.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/count2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/count2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/count2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -23,14 +25,9 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { typedef std::multimap M; TEST_IGNORE_NODISCARD M().count(C2Int{5}); } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/count3.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/count3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/count3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/count3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -23,14 +25,9 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { typedef std::multimap M; TEST_IGNORE_NODISCARD M().count(C2Int{5}); } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range1.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,14 +26,9 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { typedef std::multimap M; TEST_IGNORE_NODISCARD M().equal_range(C2Int{5}); } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range2.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().equal_range(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range3.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/equal_range3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().equal_range(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/find1.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/find1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/find1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/find1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().find(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/find2.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/find2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/find2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/find2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class map @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().find(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/find3.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/find3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/find3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/find3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().find(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound1.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().lower_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound2.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().lower_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound3.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().lower_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound1.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound1.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound1.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound1.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().upper_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound2.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound2.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound2.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound2.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().upper_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound3.compile.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound3.compile.fail.cpp --- a/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound3.compile.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound3.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03, c++11 + // // class multimap @@ -24,10 +26,6 @@ #include "test_macros.h" #include "is_transparent.h" -#if TEST_STD_VER <= 11 -#error "This test requires is C++14 (or later)" -#else - int main(int, char**) { { @@ -36,4 +34,3 @@ TEST_IGNORE_NODISCARD M().upper_bound(C2Int{5}); } } -#endif diff --git a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.compile.fail.cpp b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.compile.fail.cpp --- a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.compile.fail.cpp +++ b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.compile.fail.cpp @@ -6,6 +6,8 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++03 + // // class istream_iterator @@ -21,13 +23,7 @@ int main(int, char**) { -#if TEST_STD_VER >= 11 - { - constexpr std::istream_iterator it; - } -#else -#error "C++11 only test" -#endif + constexpr std::istream_iterator it; return 0; }