testsuite: XFAIL gfortran.dg/initialization_25.f90 properly
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg13.C
blob83539f50c489ec436141ccb1f2f423d640f5613c
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 template <class T>
5 void f (int i)
7   struct S { void g (int j = i) {} }; // { dg-error "" } default argument uses local
9   S s;
12 template void f<double>(int);