1 | // RUN: %clang_cc1 -verify -chain-include %s %s |
---|---|
2 | |
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 |
13 |