forked from OSchip/llvm-project
Add --std=c++11 to tests that #include <atomic>
llvm-svn: 298836
This commit is contained in:
parent
fa9e36e9c4
commit
cf95f24a07
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue