Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / spec-options.c
blob01d0a0929e0f7b70f020fb715ac1cd1f41e41dde
1 /* Check that -mfoo is accepted if defined in a user spec
2 and that it is not passed on the command line. */
3 /* Must be processed in EXTRA_SPECS to run. */
4 /* { dg-do run } */
5 /* { dg-options "-B${srcdir}/gcc.dg --specs=foo.specs -tfoo" } */
7 extern void abort(void);
9 int main(void)
11 #ifdef FOO
12 return 0;
13 #else
14 abort();
15 #endif