summaryrefslogtreecommitdiff
path: root/test/tsan/custom_mutex0.cc
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2017-03-27 09:45:38 +0000
committerSam McCall <sam.mccall@gmail.com>2017-03-27 09:45:38 +0000
commitbf19b3764d067f2d77d0784a0d24a072ded8bb0a (patch)
tree1d3d12ffd397ef70885bf832ba2e2e3acb1b8741 /test/tsan/custom_mutex0.cc
parent8dbff7cb785cc4352d2df5351070ed7fc7dbf3f6 (diff)
Add --std=c++11 to tests that #include <atomic>
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/custom_mutex0.cc')
-rw-r--r--test/tsan/custom_mutex0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/custom_mutex0.cc b/test/tsan/custom_mutex0.cc
index 4079c72a1..998385ca1 100644
--- a/test/tsan/custom_mutex0.cc
+++ b/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