Debian Codegraph @

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

raw
1 // PR c++/59113
2 // { dg-do compile { target c++14 } }
3
4 void foo()
5 {
6 void bar(auto) {} // { dg-error "function-definition|auto|not permitted" }
7 }
8
9 auto i = 0;