From-SVN: r28157
This commit is contained in:
Mark Mitchell 1999-07-18 04:25:39 +00:00
parent a1c6afb002
commit bb740ce98a

View File

@ -0,0 +1,11 @@
// Build don't link:
// Origin: Ian Nixon <ian@tharas.com>
struct A {};
template<class M, class T = A, class C> class Tc {}; // ERROR - no defarg
int main ()
{
Tc<int> oops; // ERROR - using template
}