LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / ipa / pr57347.c
blob731b4868ec3833af0f785946af6c3f46b90f2d7e
1 /* { dg-do run } */
2 /* { dg-options "-O3" } */
4 struct S1 { int f0; int f1 : 10; int f2 : 13; };
5 int i;
6 int *j = &i;
8 static void
9 foo (struct S1 s)
11 int *p;
12 int l[88];
13 int **pp = &p;
14 *pp = &l[1];
15 l[0] = 1;
16 *j = 1 && s.f2;
19 int
20 main ()
22 struct S1 s = { 0, 0, 1 };
23 foo (s);
24 if (i != 1)
25 __builtin_abort ();
26 return 0;