FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg10.C
blob02f16b69950765c0272effff75e1221e88433b5b
1 // Build don't link:
2 // Origin: Ian Nixon <ian@tharas.com>
4 struct A {};
6 template<class M, class T = A, class C> class Tc {}; // ERROR - no defarg
8 int main ()
10   Tc<int> oops; // ERROR - using template