Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
static1.C
blob: aafd0091da596a846430662c9f7127feb669c2c9 [
file
] [
log
] [
blame
]
// { dg-do run }
extern
"C"
void
abort
();
template
<
class
T
>
class
A
{
public
:
static
int
foo
(
int
);
};
template
<>
int
A
<int>
::
foo
(
int
i
)
{
return
i
;
}
int
main
()
{
if
(
A
<int>
::
foo
(
22
)
!=
22
)
abort
();
}