* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / guality / guality.c
blobdb015e6a558b7d55908bbbecdb8eecd446261107
1 /* { dg-do run { xfail *-*-* } } */
2 /* { dg-options "-g" } */
3 /* { dg-require-effective-target alloca } */
5 #include "guality.h"
7 /* Some silly sanity checking. */
9 int
10 main (int argc, char *argv[])
12 int i = argc+1;
13 int j = argc-2;
14 int k = 5;
16 GUALCHKXPR (argc);
17 GUALCHKXPR (i);
18 GUALCHKXPR (j);
19 GUALCHKXPR (k);
20 GUALCHKXPR (&i);
21 GUALCHKFLA (argc);
22 GUALCHKFLA (i);
23 GUALCHKFLA (j);
24 GUALCHKXPR (i);
25 GUALCHKXPR (j);
26 GUALCHKXPRVAL ("k", 5, 1);
27 GUALCHKXPRVAL ("0x40", 64, 0);
28 /* GUALCHKXPRVAL ("0", 0, 0); *//* XFAIL */