diff options
| author | Eric Fiselier <eric@efcs.ca> | 2017-04-18 23:05:08 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2017-04-18 23:05:08 +0000 |
| commit | e11fb13b60470671f39e6df6f0ed89d389462d92 (patch) | |
| tree | ef84e5b92676b29ce459861879883282b0cbf244 /libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag | |
| parent | 88c64f324fa4659954f32516a211cf5a5764a04a (diff) | |
| download | bcm5719-llvm-e11fb13b60470671f39e6df6f0ed89d389462d92.tar.gz bcm5719-llvm-e11fb13b60470671f39e6df6f0ed89d389462d92.zip | |
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in thread.
llvm-svn: 300622
Diffstat (limited to 'libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag')
| -rw-r--r-- | libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp b/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp index 6995f064833..21011ed17cd 100644 --- a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp +++ b/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp @@ -14,13 +14,14 @@ // constexpr once_flag() noexcept; #include <mutex> +#include "test_macros.h" int main() { { std::once_flag f; } -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#if TEST_STD_VER >= 11 { constexpr std::once_flag f; } |

