Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
);
}