Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic156.C
blob: 7d3c97d6890b0248e93d5cfd835f02981e67f45b [
file
] [
log
] [
blame
]
// PR c++/52844
// { dg-do compile { target c++11 } }
template
<
class
>
struct
V
{
};
template
<
int
...
Is
>
void
f
(
V
<
Is
...>)
{
}
// { dg-error "mismatch|type" }
auto
g
(
)
->
decltype
(
f
(
V
<
long
>
(
)
)
)
;
// { dg-error "matching" }