Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr70610-3.C
blob: 4be458cca59a284b45618a4aa5c717a5f8e2cade [
file
] [
log
] [
blame
]
// PR c++/70610
// { dg-do link }
void
bar
(
const
int
&,
int
&);
void
bar
(
int
&,
const
int
&);
void
bar
(
const
int
&,
const
int
&)
{
}
int
a
,
b
;
template
<
typename
T
>
void
foo
()
{
bar
(
a
+
1
,
b
+
2
);
}
int
main
()
{
foo
<int>
();
}