forked from OSchip/llvm-project
Fixing up a test case that was failing due to the lack of -std=c++11
llvm-svn: 160455
This commit is contained in:
parent
d0a4ee8427
commit
68777ac253
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue