// { dg-do run } // Bug: initializers for static data members of templates don't get run. template struct A { static T t; }; int foo () { return 1; } template <> int A::t = foo (); int main () { return (A::t != 1); }