• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
f()7 void f() {
8     (void)typeid(int);
9 }
10