summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.niklas/t141.C
blob: 08e105161cf90b4b3964305b6b19091e5f95a7ff (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// { dg-options "-Wshadow" }
// GROUPS passed niklas scoping ARM
class X { X (int); };
void X (int);// { dg-warning "hides constructor" }
void f () { X (1); }