From e23420a8bb96e4a1d365f26ea043045eab3266af Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Tue, 1 Mar 2016 12:53:18 +0000 Subject: [PATCH] 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 --- test/Index/keep-going.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.40.0