Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }
}