Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/decltype-auto-103497.C

raw
1 // PR c++/103497
2 // { dg-do compile { target c++14 } }
3
4 void foo(decltype(auto)... args); // { dg-error "contains no parameter packs" }
5
6 int main() {
7 foo();
8 }