summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/shadow1.C
blob: c133dea5453cb8c10605d51c2d3b3627f2e965ac (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// GROUPS passed errors
void f( int a) {
  int a;	// this should be an error now// { dg-error "" } .*
	{
		int a;
	}
}