1 /* Test that builtin-macros are OK. */
8 char *strstr (const char *, const char *);
9 int strcmp (const char *, const char *);
14 # error __LINE__ part 1 /* { dg-bogus "__LINE__" } */
19 # error __LINE__ part 2 /* { dg-bogus "__LINE__" } */
23 # error __LINE__ part 3 /* { dg-bogus "__LINE__" } */
26 #if __INCLUDE_LEVEL != 0
27 # error __INCLUDE_LEVEL__ /* { dg-bogus "__INCLUDE_LEVEL__" } */
30 #if !defined (__TIME__)
31 # error __TIME__ /* { dg-bogus "__TIME__" } */
34 #if !defined (__DATE__)
35 # error __DATE__ /* { dg-bogus "__DATE__" } */
41 /* level is defined in builtins.h. */
45 if (!strstr (__FILE__
, "builtins.c"))
48 if (!strcmp (__BASE_FILE__
, "builtins.c"))