Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
recursion2.C
blob: 8cb3a2b30c7a3d9452d04abfbdd45ee84aca9d87 [
file
] [
log
] [
blame
]
template
<
int
i
>
struct
T
:
public
T
<
i
-
1
>
{
};
template
<>
struct
T
<
0
>
{
};
template
<
class
F
>
struct
T1
:
public
T
<
F
::
dim
>
{
};
template
<
int
i
>
struct
S
{
enum
{
dim
=
i
}
;
};
int
main
()
{
T1
<
S
<
4
>
>
t
;
return
(
0
)
;
}