blob: cedd661710cd49fd8ae1bd5ad8a40aaba462e64e (
plain)
1
2
3
4
5
6
7
8
|
// PR c++/103497
// { dg-do compile { target c++14 } }
void foo(decltype(auto)... args); // { dg-error "cannot declare a parameter with .decltype.auto.." }
int main() {
foo();
}
|