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

template <class T> struct A { T t; };

template <class T> class B: private T {
 public:
  T::t;			   // { dg-bogus "" } doesn't recognize access decl
};

template class B<A<int> >;