Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/pr59112.C

raw
1 // PR c++/59112
2 // { dg-do compile { target c++14 } }
3
4 void foo()
5 {
6 struct A
7 {
8 A(auto) {} // { dg-error "auto|not permitted" }
9 };
10 }