Add --std=c++11 to tests that #include <atomic>

llvm-svn: 298836
This commit is contained in:
Sam McCall 2017-03-27 09:45:38 +00:00
parent fa9e36e9c4
commit cf95f24a07
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.