================ @@ -758,16 +759,18 @@ namespace cwg347 { // cwg347: yes void g(); }; - struct derived : base {}; + struct derived : base {}; // #defined-here-derived struct derived::nested {}; // expected-error@-1 {{no struct named 'nested' in 'cwg347::derived'}} int derived::n; // expected-error@-1 {{no member named 'n' in 'cwg347::derived'}} void derived::f() {} // expected-error@-1 {{out-of-line definition of 'f' does not match any declaration in 'cwg347::derived'}} + // expected-note@#defined-here-derived {{defined here}} ---------------- Endilll wrote:
```suggestion // expected-note@#cwg347-derived {{defined here}} ``` https://github.com/llvm/llvm-project/pull/110638 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits