Home | History | Annotate | Download | only in PCH
      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 void f() {
      8     (void)typeid(int);
      9 }
     10