Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec22.C
blob: 94bffdbecaa6fa86438bf9fd1a2670f6545b9aa6 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
struct
S
{
template
<
class
U
>
void
f
();
};
template
<
class
T
>
template
<>
// { dg-error "enclosing class templates|invalid explicit specialization" }
void
S
<
T
>::
f
<int>
()
{
}