aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-04-22 04:18:25 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-04-22 04:18:25 +0000
commit9c6a114d4271ab0e3800de1d3407f994dadd240e (patch)
tree43ba0f70f1019873267005111d116f3cb4cdb5a5
parent52bb2a06361d1d0d51809a2ac06e270e8cf05a9e (diff)
Add a triple to make a test resilient to non-TLS hosts (eg: darwin10)
Making the test introduced in r179962 resilient to being run on darwin10 hosts. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179992 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/cxx1y-array-runtime-bound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/cxx1y-array-runtime-bound.cpp b/test/SemaCXX/cxx1y-array-runtime-bound.cpp
index 323393d91d..1643adbe0b 100644
--- a/test/SemaCXX/cxx1y-array-runtime-bound.cpp
+++ b/test/SemaCXX/cxx1y-array-runtime-bound.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++1y %s -verify -pedantic-errors
+// RUN: %clang_cc1 -std=c++1y %s -verify -triple=x86_64-linux-gnu -pedantic-errors
// FIXME: many diagnostics here say 'variably modified type'.
// catch this case and say 'array of runtime bound' instead.