parent
efdb50375f
commit
8b32246d77
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue