From: Tim Shen Date: Wed, 15 Feb 2017 00:01:12 +0000 (+0000) Subject: [VLA] Fix the test failure on msvc by specifying the triple. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dabce262f291204a97da70069219270c12a4ac8;p=clang [VLA] Fix the test failure on msvc by specifying the triple. Differential Revision: https://reviews.llvm.org/D24333 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295127 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/pr30306.cpp b/test/Sema/pr30306.cpp index 7442377dc5..413e2f5ab5 100644 --- a/test/Sema/pr30306.cpp +++ b/test/Sema/pr30306.cpp @@ -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 &);