Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
explicit.C
blob: e227792a034cfda820bf19904d0b74f080ec05f1 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Testcase for explicit instantiation of templates.
template
<
class
T
>
class
A
{
T t
;
public
:
void
f
()
{
}
};
template
class
A
<int>
;
template
<
class
T
>
T min
(
T a
,
T b
)
{
return
(
a
<
b
?
a
:
b
);
}
template
int
min
(
int
,
int
);