aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/spellcheck-pr104806.C
blob: 559e60191633c04f029c660e4d0883d5e9762770 (plain)
1
2
3
4
5
// 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 }