aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/lookup2.C
blob: e44b1dcb057991ef169cd1909285377e0b9ce9c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Build don't link:

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