Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic174.C
blob: 36b76675da32fd1ecb97e082d4728c4a8008f598 [
file
] [
log
] [
blame
]
// PR c++/80026
// { dg-do compile { target c++11 } }
void
g
(
int
)
{}
void
g
(
bool
){}
template
<
class
...
S
>
void
f
(
S
...){}
int
main
(){
f
(&
g
);
// { dg-error "too many arguments" }
}