* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / guality / pr41447-1.c
blob308ef94967d36066756c5e3474c68e8f82b7a7f9
1 /* { dg-do run } */
2 /* { dg-options "-g" } */
4 #include "guality.h"
6 int a;
8 int
9 main (int argc, char *argv[])
11 int tmp = a;
12 int tmp2 = a;
13 int tmp3;
14 int res;
15 GUALCHKVAL (a);
16 GUALCHKVAL (tmp);
17 GUALCHKVAL (tmp2);
18 a = 0;
19 tmp3 = tmp2;
20 GUALCHKVAL (a);
21 GUALCHKVAL (tmp);
22 GUALCHKVAL (tmp2);
23 GUALCHKVAL (tmp3);
24 res = tmp - tmp2 + 1;
25 return res;