2 /* { dg-do compile } */
3 /* { dg-options "-pedantic" } */
5 /* Allow initializing objects with static storage duration with
6 compound literals. This is being used in Linux kernel. */
9 struct S
{ struct T t
; };
10 static struct S s
= (struct S
) { .t
= { 42 } }; /* { dg-warning "initializer element is not constant" } */