blob: 8c2f786acd52275072c0b0403464b66d17922ad9 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-std=c17 -pedantic -Wall -W" } */
#if __has_embed (__FILE__ limit (1)) != 1
#error "__has_embed failed"
#endif
int a =
#embed __FILE__ limit (1) /* { dg-warning "'#embed' before C23 is a GCC extension" } */
;
int b =
(__extension__
#embed __FILE__ limit (1)
);