r295127 - [VLA] Fix the test failure on msvc by specifying the triple.

Tim Shen via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 14 16:01:13 PST 2017


Author: timshen
Date: Tue Feb 14 18:01:12 2017
New Revision: 295127

URL: http://llvm.org/viewvc/llvm-project?rev=295127&view=rev
Log:
[VLA] Fix the test failure on msvc by specifying the triple.

Differential Revision: https://reviews.llvm.org/D24333

Modified:
    cfe/trunk/test/Sema/pr30306.cpp

Modified: cfe/trunk/test/Sema/pr30306.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/pr30306.cpp?rev=295127&r1=295126&r2=295127&view=diff
==============================================================================
--- cfe/trunk/test/Sema/pr30306.cpp (original)
+++ cfe/trunk/test/Sema/pr30306.cpp Tue Feb 14 18:01:12 2017
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -x c++ -emit-llvm < %s | FileCheck %s
+// RUN: %clang_cc1 -x c++ -triple x86_64-pc-linux-gnu -emit-llvm < %s | FileCheck %s
 
 struct A { A(int); ~A(); };
 int f(const A &);




More information about the cfe-commits mailing list