forked from OSchip/llvm-project
tests: Tests which include system headers must use the driver, not -cc1.
llvm-svn: 110708
This commit is contained in:
parent
3f251fb26e
commit
656f3bd3e2
|
@ -1,8 +1,8 @@
|
|||
// Test this without pch.
|
||||
// RUN: %clang_cc1 -include %S/cxx-typeid.h -fsyntax-only -verify %s
|
||||
// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -verify %s
|
||||
|
||||
// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-typeid.h
|
||||
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -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
|
||||
|
||||
void f() {
|
||||
(void)typeid(int);
|
||||
|
|
Loading…
Reference in New Issue