Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg10.C
blob: bd830522bc6945dbda77a0d06c2e752cab2c6809 [
file
] [
log
] [
blame
]
// { 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
}