chain-typo-corrections.cpp 249 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 // RUN: %clang_cc1 -verify -chain-include %s %s // PR 14044 #ifndef PASS1 #define PASS1 class S { void f(struct Test); }; #else ::Tesy *p; // expected-error {{did you mean 'Test'}} // expected-note@-4 {{'Test' declared here}} #endif