PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / Wreturn-type.c
bloba122e5291f640db94e278b1ecfcb6b065035f347
1 /* PR c++/4872 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wreturn-type" } */
5 static inline int f() {} /* { dg-warning "return" "missing return" } */