[cfe-commits] r160455 - /cfe/trunk/test/PCH/cxx-typeid.cpp
Aaron Ballman
aaron at aaronballman.com
Wed Jul 18 14:56:43 PDT 2012
Author: aaronballman
Date: Wed Jul 18 16:56:43 2012
New Revision: 160455
URL: http://llvm.org/viewvc/llvm-project?rev=160455&view=rev
Log:
Fixing up a test case that was failing due to the lack of -std=c++11
Modified:
cfe/trunk/test/PCH/cxx-typeid.cpp
Modified: cfe/trunk/test/PCH/cxx-typeid.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/cxx-typeid.cpp?rev=160455&r1=160454&r2=160455&view=diff
==============================================================================
--- cfe/trunk/test/PCH/cxx-typeid.cpp (original)
+++ cfe/trunk/test/PCH/cxx-typeid.cpp Wed Jul 18 16:56:43 2012
@@ -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);
More information about the cfe-commits
mailing list