Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/pr98366.c

raw
1 /* PR middle-end/98366 */
2 /* { dg-require-effective-target int32 } */
3
4 typedef struct S { int a, b, c : 7, d : 8, e : 17; } S;
5 const S f[] = { {0, 3, 4, 2, 0} };
6
7 int
8 main ()
9 {
10 if (__builtin_memcmp (f, (S[]){{.b = 3, .c = 4, .d = 2, .e = 0}}, sizeof (S)))
11 __builtin_abort ();
12 return 0;
13 }