]> granicus.if.org Git - clang/commitdiff
Add a triple to make a test resilient to non-TLS hosts (eg: darwin10)
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 22 Apr 2013 04:18:25 +0000 (04:18 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 22 Apr 2013 04:18:25 +0000 (04:18 +0000)
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

test/SemaCXX/cxx1y-array-runtime-bound.cpp

index 323393d91d288ac42e471f0b16f33f48d1ab68e9..1643adbe0b09d37af54bbd44d39293ca62bccfc8 100644 (file)
@@ -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.