☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn38.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/auto-fn38.C
code
plain
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();