From: Manuel Klimek Date: Tue, 1 Mar 2016 12:53:18 +0000 (+0000) Subject: Fix test breakage on windows where the default std is c++11 by forcing c++03 in the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e23420a8bb96e4a1d365f26ea043045eab3266af;p=clang Fix test breakage on windows where the default std is c++11 by forcing c++03 in the test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262325 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/keep-going.cpp b/test/Index/keep-going.cpp index 9bf23947d1..a25d1c4b04 100644 --- a/test/Index/keep-going.cpp +++ b/test/Index/keep-going.cpp @@ -9,7 +9,7 @@ class B : public A { }; class C : public A { }; -// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_KEEP_GOING=1 c-index-test -test-print-type %s 2> %t.stderr.txt | FileCheck %s +// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_KEEP_GOING=1 c-index-test -test-print-type %s -std=c++03 2> %t.stderr.txt | FileCheck %s // RUN: FileCheck -check-prefix CHECK-DIAG %s < %t.stderr.txt // CHECK: inclusion directive=missing1.h ((null)) [type=] [typekind=Invalid] [isPOD=0]