• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -emit-pch %s -o %t.pch
2 // RUN: %clang_cc1 -include-pch %t.pch %s -verify
3 
4 #ifndef HEADER_INCLUDED
5 #define HEADER_INCLUDED
6 
7 void func(struct Test);
8 
9 #else
10 
11 ::Yest *T;  // expected-error{{did you mean 'Test'}}
12             // expected-note@7{{'Test' declared here}}
13 
14 #endif
15