Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
freestanding-nonint-main.c
blob: d8393346b091bb6555c76f2eaaa111c5737bf067 [
file
] [
log
] [
blame
]
/* Check that we get the right warning for nonint main in freestanding. */
/* { dg-do compile } */
/* { dg-options "-ffreestanding -Wreturn-type" } */
const
char
*
main
(
void
)
{}
/* { dg-warning "-Wreturn-type" } */