// { dg-do run } int i; template struct S { S () { i = 1; } }; static S s[1]; int main () { if (!i) return 1; }