Take: int t; struct g{ int t; void h(void) { t++; } }; ---- CUT --- I would have thought there would be a warning with -Wshadow but there is not.
Confirmed.