diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2017-11-15 03:08:39 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2017-11-15 03:08:39 +0000 |
commit | 0b07da7c85a1657fe61a8af751e914233f26ba53 (patch) | |
tree | f4012536d1b9434e4a26bbc53bb80c70867bc8c3 /test | |
parent | 4f009913dfb014b9ac00ddd23c0c67bc53b1efcf (diff) |
Named the macro wrong in the test.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@318259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/libcxx/diagnostics/nodiscard.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libcxx/diagnostics/nodiscard.pass.cpp b/test/libcxx/diagnostics/nodiscard.pass.cpp index b001d672d..7519799d2 100644 --- a/test/libcxx/diagnostics/nodiscard.pass.cpp +++ b/test/libcxx/diagnostics/nodiscard.pass.cpp @@ -13,7 +13,7 @@ // UNSUPPORTED: c++98, c++03, c++11, c++14 -#define _LIBCPP_DISABLE_AFTER_CXX17_NODISCARD +#define _LIBCPP_DISABLE_NODISCARD_AFTER_CXX17 #include <__config> _LIBCPP_NODISCARD_AFTER_CXX17 int foo() { return 6; } |