☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
freestanding-nonint-main.c
☽
☼
gcc/testsuite/gcc.dg/freestanding-nonint-main.c
code
plain
raw
1
/* Check that we get the right warning for nonint main in freestanding. */
2
/* { dg-do compile } */
3
/* { dg-options "-ffreestanding -Wreturn-type" } */
4
5
const char *main(void) {} /* { dg-warning "-Wreturn-type" } */