Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
real-to-int1.C
blob: f7b990b3f4b87258e53253202cae14d4984066b3 [
file
] [
log
] [
blame
]
// PR c++/97973
void
(*
foo
[
1
])(
const
int
&);
void
(*
foo2
[
1
])(
const
double
&);
template
<typename>
void
f
()
{
(
foo
[
0
])(
1.1
);
(
foo2
[
0
])(
1
);
}
void
g
()
{
f
<char>
();
}