Use TestAtomic instead of std::atomic so the test can run in C++03

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@245415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier 2015-08-19 05:00:36 +00:00
parent faa9a31aef
commit 35a6c564bf

View File

@ -16,10 +16,11 @@
// void detach();
#include <thread>
#include <atomic>
#include <cassert>
std::atomic_bool done = ATOMIC_VAR_INIT(false);
#include "test_atomic.h"
AtomicBool done(false);
class G
{