summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash1.C
blob: f9a6e16e4a52d2f7bbeb941ac9883afea502eef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
template<class T> class A {
    public:
        class subA {};
};


template<class T> class B : public A<T> {
    public:
  class subB : public A::subA {}; // { dg-error "" } not a class or namespace
};