Debian Codegraph @

gcc/testsuite/g++.dg/spellcheck-pr104806.C

raw
1 // PR c++/104806
2
3 struct S {};
4 int main() { S s; s.__d; } // { dg-bogus "'struct S' has no member named '__d'; did you mean '__\[a-z]* '" }
5 // { dg-error "'struct S' has no member named '__d'" "" { target *-*-* } .-1 }