// Build don't link: // crash test - XFAIL *-*-* // regression test - // by Paul Burchard , Level Set Systems, Inc. // Copyright (C) 1999 Free Software Foundation template struct X { X(A) { } }; template struct Y { static X x(A(1)); // ERROR - ANSI C++ forbids in-class initialization of non-const static member `x' }; Y y;