3d1dcd9bfd
http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor)
10 lines
285 B
C++
10 lines
285 B
C++
// Test this without pch.
|
|
// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -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
|
|
|
|
void f() {
|
|
(void)typeid(int);
|
|
}
|