PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / divconst-1.c
blobce9dd60a8e8cfde673ccce4300bde6d980aa5a08
1 typedef struct
3 unsigned a, b, c, d;
4 } t1;
6 f (t1 *ps)
8 ps->a = 10000;
9 ps->b = ps->a / 3;
10 ps->c = 10000;
11 ps->d = ps->c / 3;
14 main ()
16 t1 s;
17 f (&s);
18 if (s.a != 10000 || s.b != 3333 || s.c != 10000 || s.d != 3333)
19 abort ();
20 exit (0);