Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-58156.C
blob: f1362ee84b6bf12101f65b40d7012e69f197f412 [
file
] [
log
] [
blame
]
// PR c++/58156
// { dg-do compile { target c++11 } }
template
<
class
T
,
class
...
U
>
void
Foo
(
U
&...)
{}
template
<
class
T
,
class
...
U
>
void
Foo
(
const
U
&...)
{}
void
Bar
()
{
const
int
a
=
0
;
Foo
<int>
(
a
);
}