2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg10.C
blobbd830522bc6945dbda77a0d06c2e752cab2c6809
1 // { dg-do assemble  }
2 // Origin: Ian Nixon <ian@tharas.com>
4 struct A {};
6 template<class M, class T = A, class C> class Tc {}; // { dg-error "" } no defarg
8 int main ()
10   Tc<int> oops; // { dg-error "" } using template