// { dg-do assemble } // by Paul Burchard , Level Set Systems, Inc. // Copyright (C) 1999, 2002 Free Software Foundation class Q { public: template class X { }; }; template class> class Y { }; Q::template X x; // { dg-error "" } template syntax