PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr63567-4.c
blob0ca6c45cc23cf6496aa30dc5e0219a4b45e867b2
1 /* PR c/63567 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wpedantic" } */
5 struct T { int i; };
6 struct S { struct T t; };
7 struct S s = { .t = { (int) { 1 } } }; /* { dg-warning "initializer element is not constant" } */