FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg13.C
blob0f7e84f12efed6a7dc9feee826be10fa5bdc8559
1 // Build don't link:
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 template <class T>
5 void f (int i)
7   struct S { void g (int j = i) {} }; // ERROR - default argument uses local
9   S s;
12 template void f<double>(int);