PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52769.c
blob138cecb14dc12036be1272557cac2af19f9c1f48
1 /* PR c/52769 */
2 /* { dg-do run } */
3 /* { dg-options "-O3" } */
5 typedef struct
7 int should_be_zero;
8 char s[6];
9 int x;
10 } foo_t;
12 int
13 main (void)
15 volatile foo_t foo = {
16 .s = "123456",
17 .x = 2
20 if (foo.should_be_zero != 0)
21 __builtin_abort ();
23 return 0;