From: Aaron Ballman Date: Wed, 18 Jul 2012 21:56:43 +0000 (+0000) Subject: Fixing up a test case that was failing due to the lack of -std=c++11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b4327fa7584394826d945930e1bc1a76d9f287e;p=clang Fixing up a test case that was failing due to the lack of -std=c++11 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160455 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/PCH/cxx-typeid.cpp b/test/PCH/cxx-typeid.cpp index 41dd544807..819b4d4378 100644 --- a/test/PCH/cxx-typeid.cpp +++ b/test/PCH/cxx-typeid.cpp @@ -1,8 +1,8 @@ // Test this without pch. -// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -Xclang -verify %s +// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -std=c++11 -Xclang -verify %s -// RUN: %clang -ccc-pch-is-pch -x c++-header -o %t.gch %S/cxx-typeid.h -// RUN: %clang -ccc-pch-is-pch -include %t -fsyntax-only -Xclang -verify %s +// RUN: %clang -ccc-pch-is-pch -std=c++11 -x c++-header -o %t.gch %S/cxx-typeid.h +// RUN: %clang -ccc-pch-is-pch -std=c++11 -include %t -fsyntax-only -Xclang -verify %s void f() { (void)typeid(int);