Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit-instantiation2.C
blob: 21109a765aa64506ea1bdfae789315c3c5ea3eac [
file
] [
log
] [
blame
]
// Bug 10968: implicit instantiation overrides explicit instantiation
// { dg-final { scan-assembler "_Z1fIiET_S0_" } }
template
<
class
T
>
T f
(
T t
)
{
return
t
;
}
inline
void
g
()
{
f
(
4
);
}
template
int
f
(
int
);