blob: bd830522bc6945dbda77a0d06c2e752cab2c6809 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// { dg-do assemble }
// Origin: Ian Nixon <ian@tharas.com>
struct A {};
template<class M, class T = A, class C> class Tc {}; // { dg-error "" } no defarg
int main ()
{
Tc<int> oops; // { dg-error "" } using template
}
|