aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/Wreturn-type.c
blob: a122e5291f640db94e278b1ecfcb6b065035f347 (plain)
1
2
3
4
5
/* PR c++/4872 */
/* { dg-do compile } */
/* { dg-options "-Wreturn-type" } */

static inline int f() {}     /* { dg-warning "return" "missing return" } */