Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg4.C
blob: ddc24c9380cc713979912076c4f16747054273c2 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
struct
S1
{
void
foo
(
T
=
t
());
static
T t
();
};
template
<
class
T
>
struct
S2
{
void
bar
();
};
template
<
class
T
>
void
S2
<
T
>::
bar
()
{
S1
<
T
>
st
;
st
.
foo
();
}
int
main
()
{
S2
<int>
s2i
;
s2i
.
bar
();
}