diff options
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2016-11-04 20:26:59 +0000 |
---|---|---|
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2016-11-04 20:26:59 +0000 |
commit | e619862dbf0c4a46db6e3d816bcafcfef6e85977 (patch) | |
tree | 4213e683d62c9bd7a19c43b5188a92c2f05b2194 /test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp | |
parent | f333beee2ce44299b1ce219371bdef60290ac175 (diff) |
[libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.
This replaces every occurrence of _LIBCPP_STD_VER in the tests with
TEST_STD_VER. Additionally, for every affected
file, #include "test_macros.h" is being added explicitly if it wasn't
already there.
https://reviews.llvm.org/D26294
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@286007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp')
-rw-r--r-- | test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp b/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp index c67f3b39d..254f524af 100644 --- a/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp +++ b/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp @@ -22,9 +22,10 @@ #include <map> #include <cassert> +#include "test_macros.h" #include "is_transparent.h" -#if _LIBCPP_STD_VER <= 11 +#if TEST_STD_VER <= 11 #error "This test requires is C++14 (or later)" #else @@ -36,4 +37,4 @@ int main() M().find(C2Int{5}); } } -#endif
\ No newline at end of file +#endif |