2 // Copyright (C) 2000 Free Software Foundation, Inc.
3 // Contributed by Nathan Sidwell 14 Nov 2000 <nathan@codesourcery.com>
5 // Bug 635. We failed to emit initializer code for out-of-class defined
6 // static const members of template instantiations.
16 template<typename T> struct X
18 static const bool cflag;
20 static const bool iflag = true;
21 static const bool jflag = true;
24 template<typename T> const bool X<T>::cflag (setFlag ());
25 template<typename T> bool X<T>::flag (setFlag ());
26 template<typename T> const bool X<T>::iflag;