Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/auto-fn38.C

raw
1 // PR c++/80145
2 // { dg-do compile { target c++14 } }
3 // { dg-additional-options "-Wno-return-type" }
4
5 auto* foo() { } // { dg-error "no return statements" }
6 auto* foo();