summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx1y-array-runtime-bound.cpp
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
commit8ddc2b50e84e70457f110966dd4ede3c9e8dcfd2 (patch)
treede24344d427f4e9f9ee6c326fc4007733e4101b7 /clang/test/SemaCXX/cxx1y-array-runtime-bound.cpp
parentb5ba3d3b37c60d63b50cec8dec7f79a847f29fd6 (diff)
downloadbcm5719-llvm-8ddc2b50e84e70457f110966dd4ede3c9e8dcfd2.tar.gz
bcm5719-llvm-8ddc2b50e84e70457f110966dd4ede3c9e8dcfd2.zip
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. llvm-svn: 179992
Diffstat (limited to 'clang/test/SemaCXX/cxx1y-array-runtime-bound.cpp')
-rw-r--r--clang/test/SemaCXX/cxx1y-array-runtime-bound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/cxx1y-array-runtime-bound.cpp b/clang/test/SemaCXX/cxx1y-array-runtime-bound.cpp
index 323393d91d2..1643adbe0b0 100644
--- a/clang/test/SemaCXX/cxx1y-array-runtime-bound.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud