blob: a8571cc6f0b886b8e707cab48001c20fef89b918 [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() {} /* { dg-warning "-Wreturn-type" } */