1 // Test this without pch. 2 // RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -Xclang -verify %s 3 4 // RUN: %clang -ccc-pch-is-pch -x c++-header -o %t.gch %S/cxx-typeid.h 5 // RUN: %clang -ccc-pch-is-pch -include %t -fsyntax-only -Xclang -verify %s 6 7 // expected-no-diagnostics 8 9 void f() { 10 (void)typeid(int); 11 } 12