Fixing up a test case that was failing due to the lack of -std=c++11

llvm-svn: 160455
This commit is contained in:
Aaron Ballman 2012-07-18 21:56:43 +00:00
parent d0a4ee8427
commit 68777ac253
1 changed files with 3 additions and 3 deletions

View File

@ -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);