diff options
-rw-r--r-- | compiler-rt/test/tsan/custom_mutex0.cc | 2 | ||||
-rw-r--r-- | compiler-rt/test/tsan/custom_mutex1.cc | 2 | ||||
-rw-r--r-- | compiler-rt/test/tsan/custom_mutex2.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/tsan/custom_mutex0.cc b/compiler-rt/test/tsan/custom_mutex0.cc index 4079c72a103..998385ca1cf 100644 --- a/compiler-rt/test/tsan/custom_mutex0.cc +++ b/compiler-rt/test/tsan/custom_mutex0.cc @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan -O1 --std=c++11 %s -o %t && %run %t 2>&1 | FileCheck %s #include "custom_mutex.h" // Test that custom annoations provide normal mutex synchronization 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. diff --git a/compiler-rt/test/tsan/custom_mutex2.cc b/compiler-rt/test/tsan/custom_mutex2.cc index 217b4446672..9329cbc3f43 100644 --- a/compiler-rt/test/tsan/custom_mutex2.cc +++ b/compiler-rt/test/tsan/custom_mutex2.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 Broadcast does not induce parasitic synchronization. |