1 /* PR c++/4872 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Wreturn-type" } */ 4 f()5 static inline int f() {} /* { dg-warning "return" "missing return" } */ 6