Named the macro wrong in the test.

llvm-svn: 318259
This commit is contained in:
Marshall Clow 2017-11-15 03:08:39 +00:00
parent efdb50375f
commit 8b32246d77
1 changed files with 1 additions and 1 deletions

View File

@ -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; }