diff options
Diffstat (limited to 'test/std/atomics/atomics.flag/init03.pass.cpp')
-rw-r--r-- | test/std/atomics/atomics.flag/init03.pass.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/std/atomics/atomics.flag/init03.pass.cpp b/test/std/atomics/atomics.flag/init03.pass.cpp deleted file mode 100644 index 0910bc5ceccb..000000000000 --- a/test/std/atomics/atomics.flag/init03.pass.cpp +++ /dev/null @@ -1,25 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// UNSUPPORTED: libcpp-has-no-threads - -// <atomic> - -// struct atomic_flag - -// TESTING EXTENSION atomic_flag(bool) - -#include <atomic> -#include <cassert> - -int main() -{ - std::atomic_flag f(false); - assert(f.test_and_set() == 0); -} |