3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 19 Jan 2002 <nathan@codesourcery.com>
6 // It is legal to specialize a template with a different class-key.
8 template<typename T> class X;
10 template<typename T> struct X<T *>
14 template<> struct X<int>