blob: 5f8e2ccb100259394611bc8f10d1435e118d66ea [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Wreturn-type -fdump-tree-optimized -O" } */
int foo(int a)
{
} /* { dg-warning "no return statement" } */
/* { dg-final { scan-tree-dump "__builtin_unreachable" "optimized" } } */