blob: a9984aa54a18ef83550c3c1e9584af544e04549e [file] [log] [blame]
// { dg-options -std=c++1y }
auto f() { return; } // OK, return type is void
auto* g() { return; } // { dg-error "no value" }
auto* h() { } // { dg-error "no return statements" }