1 // Copyright (C) 2001 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
5 template <template <class> class TT> class C {
8 template <class T> struct D {
9 C<T::template B> c; // { dg-error "context" }
14 template <class T> class B {}; // { dg-error "private" }
17 D<E> d; // { dg-message "required" }