]> granicus.if.org Git - clang/commitdiff
[VLA] Fix the test failure on msvc by specifying the triple.
authorTim Shen <timshen91@gmail.com>
Wed, 15 Feb 2017 00:01:12 +0000 (00:01 +0000)
committerTim Shen <timshen91@gmail.com>
Wed, 15 Feb 2017 00:01:12 +0000 (00:01 +0000)
Differential Revision: https://reviews.llvm.org/D24333

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295127 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/pr30306.cpp

index 7442377dc51aa2bab95f52cabf1a664e79156048..413e2f5ab559536307ab579bf6afaf426dba1d89 100644 (file)
@@ -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 &);