summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/scoping11.C
blob: 9a3717d57bb082214d74ca82b7210dd91459dd69 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }

void f ();
void g ()
{
  int f;
  {
    void f ();
    f ();			// { dg-bogus "" } trying to call integer
  }
}