1// { dg-do assemble } 2// From: lat@iki.fi (Lassi A. Tuura) 3// Test that a specialization without an initializer is not a definition, 4// as specified in [temp.expl.spec]. 5 6 7struct X; 8template <class T> struct Y { static const X array[]; }; 9template <> const X Y<int>::array []; 10struct X { int i; }; 11template <> const X Y<int>::array [] = { 0, 1, 2, 3 }; 12