1 2 3 4 5 6 7 8 9 10 11 12
/* PR c++/92365 */ /* { dg-options "-std=c++98 -Wshadow=compatible-local" } */ class a { public: a(char *); }; void b() { a c(0); if (0) int c; }