libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / freestanding-nonint-main.c
blobd8393346b091bb6555c76f2eaaa111c5737bf067
1 /* Check that we get the right warning for nonint main in freestanding. */
2 /* { dg-do compile } */
3 /* { dg-options "-ffreestanding -Wreturn-type" } */
5 const char *main(void) {} /* { dg-warning "-Wreturn-type" } */