Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wvexing-parse10.C

raw
1 // PR c++/118718
2 // { dg-do compile { target c++14 } }
3
4 void
5 fn ()
6 {
7 auto f1 () -> auto;
8 auto f2 (); // { dg-warning "empty parentheses" }
9 }