// { dg-do assemble } struct S { template int f(T), g(T); // { dg-error "" } more than one declarator }; template void x(T), y(T); // { dg-error "" } more than one declarator template struct S2 { static int i, j; // OK. }; template int S2::i, S2::j; // { dg-error "" } more than one declarator template <> int S2::i, S2::i; // { dg-error "" } more than one declarator