☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg10.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/defarg10.C
code
plain
raw
1
// { dg-do assemble }
2
// Origin: Ian Nixon <
[email protected]
>
3
4
struct A {};
5
6
template<class M, class T = A, class C> class Tc {}; // { dg-error "" } no defarg
7
8
int main ()
9
{
10
Tc<int> oops; // { dg-error "" } using template
11
}