r262325 - Fix test breakage on windows where the default std is c++11 by forcing c++03 in the test.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 04:53:18 PST 2016


Author: klimek
Date: Tue Mar  1 06:53:18 2016
New Revision: 262325

URL: http://llvm.org/viewvc/llvm-project?rev=262325&view=rev
Log:
Fix test breakage on windows where the default std is c++11 by forcing c++03 in the test.

Modified:
    cfe/trunk/test/Index/keep-going.cpp

Modified: cfe/trunk/test/Index/keep-going.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/keep-going.cpp?rev=262325&r1=262324&r2=262325&view=diff
==============================================================================
--- cfe/trunk/test/Index/keep-going.cpp (original)
+++ cfe/trunk/test/Index/keep-going.cpp Tue Mar  1 06:53:18 2016
@@ -9,7 +9,7 @@ class B : public A<int> { };
 
 class C : public A<float> { };
 
-// 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]




More information about the cfe-commits mailing list