1 // Copyright (C) 2001 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
7 template <class T> class B {};
10 template <int i> struct X
14 template <class T> struct C
16 X<T::template B> x; // { dg-error "type" }