Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/embed-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=c17 -pedantic -Wall -W" } */
3
4 #if __has_embed (__FILE__ limit (1)) != 1
5 #error "__has_embed failed"
6 #endif
7
8 int a =
9 #embed __FILE__ limit (1) /* { dg-warning "'#embed' before C23 is a GCC extension" } */
10 ;
11 int b =
12 (__extension__
13 #embed __FILE__ limit (1)
14 );