[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / chain-typo-corrections.cpp
blob4448220bba4ae28ad74704e00c474e376f69f5b1
1 // RUN: %clang_cc1 -verify -chain-include %s %s
3 // PR 14044
4 #ifndef PASS1
5 #define PASS1
6 class S {
7 void f(struct Test);
8 };
9 #else
10 ::Tesy *p; // expected-error {{did you mean 'Test'}}
11 // expected-note@-4 {{'Test' declared here}}
12 #endif