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

struct A {
  struct B {
    B ();
  };
};
void f (A::B);
void g ()
{
  A::B b;
  f (b);	  // { dg-bogus "" } can't find nested constructor
}