Author: dblaikie
Date: Sun Apr 21 23:18:25 2013
New Revision: 179992
URL: http://llvm.org/viewvc/llvm-project?rev=179992&view=rev
Log:
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.
Modified:
cfe/trunk/test/SemaCXX/cxx1y-array-runtime-bound.cpp
Modified: cfe/trunk/test/SemaCXX/cxx1y-array-runtime-bound.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/cxx1y-array-runtime-bound.cpp?rev=179992&r1=179991&r2=179992&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/cxx1y-array-runtime-bound.cpp (original)
+++ cfe/trunk/test/SemaCXX/cxx1y-array-runtime-bound.cpp Sun Apr 21 23:18:25
2013
@@ -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.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits