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