diff options
author | Sam McCall <sam.mccall@gmail.com> | 2017-03-27 09:45:38 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2017-03-27 09:45:38 +0000 |
commit | cf95f24a07aa0dedbee1d7b53cada8b78db0e308 (patch) | |
tree | 0305b444c1e9b4b688c3eccb60e42f1f66ecead4 /compiler-rt/test/tsan/custom_mutex1.cc | |
parent | fa9e36e9c49a9c2c180cdc2d08768ad792f1f571 (diff) | |
download | bcm5719-llvm-cf95f24a07aa0dedbee1d7b53cada8b78db0e308.tar.gz bcm5719-llvm-cf95f24a07aa0dedbee1d7b53cada8b78db0e308.zip |
Add --std=c++11 to tests that #include <atomic>
llvm-svn: 298836
Diffstat (limited to 'compiler-rt/test/tsan/custom_mutex1.cc')
-rw-r--r-- | compiler-rt/test/tsan/custom_mutex1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/custom_mutex1.cc b/compiler-rt/test/tsan/custom_mutex1.cc index ec7294ccd4f..06186515f69 100644 --- a/compiler-rt/test/tsan/custom_mutex1.cc +++ b/compiler-rt/test/tsan/custom_mutex1.cc @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan -O1 --std=c++11 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s #include "custom_mutex.h" // Test that failed TryLock does not induce parasitic synchronization. |