* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / stackalign / pr16660-3.c
blobdc5abf278c16ff7131432dff30ce03082c685a6b
1 /* { dg-do run } */
2 /* { dg-skip-if "Stack alignment causes use of alloca" { nvptx-*-* } "*" "" } */
4 #include "check.h"
6 typedef __SIZE_TYPE__ size_t;
7 #define ALIGNMENT 256
8 int main(void)
10 int a[ALIGNMENT/sizeof(int)] __attribute__((aligned(ALIGNMENT)));
11 check (&a, ALIGNMENT);
12 int b[ALIGNMENT/sizeof(int)] __attribute__((aligned(ALIGNMENT)));
13 check (&b, ALIGNMENT);
14 return 0;