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

struct A { typedef int foo; };
struct B: public A {
  typedef int bar;
  struct C {
    void g (B::bar);		// { dg-bogus "" } nested type failure
    void f (B::foo);
  };
};