Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg2.C
blob: ff036f1f0580fdfd9e94c674a55a98ea69734a0f [
file
] [
log
] [
blame
]
// { dg-do run }
template
<
int
S
=
0
,
class
T
=
int
>
struct
X
{};
template
<>
struct
X
<
0
,
int
>
{};
template
<
int
S
>
struct
X
<
S
,
int
>
:
X
<>
{};
int
main
()
{
X
<
1
,
int
>
x
;
}