// { dg-do run } extern "C" void abort(); template void f(T) { struct S { int i; } s; s.i = 3; if (s.i != 3) abort(); } int main() { f(7); }