Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu23 -Woverride-init" } */
3
4 const unsigned char a[] = {
5 #embed __FILE__
6 };
7 const unsigned char b[] = {
8 [10] = 2, [5] = 3, [13] = 4, [17] = 5, [0] =
9 #embed __FILE__ suffix(,) limit (256) /* { dg-warning "initialized field overwritten" } */
10 [18] = a[18] /* { dg-warning "initialized field overwritten" } */
11 };