Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
missing-return.C
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" } } */