Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/g++.dg/spellcheck-pr104806.C

6 lines
223 B
C

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