From: David Blaikie Date: Mon, 22 Apr 2013 04:18:25 +0000 (+0000) Subject: Add a triple to make a test resilient to non-TLS hosts (eg: darwin10) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c6a114d4271ab0e3800de1d3407f994dadd240e;p=clang 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 --- 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.