aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.bob/nested1.C
blob: 37dd2d0545a2278cc18223332130d5261db10469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }

struct A {
  struct B {
    typedef long T;
    int i;
  };
};
struct C {
  struct B {
    typedef float T;
    int i;
  };
};

C::B::T a;