1 /* { dg-do run } */ 2 /* { dg-skip-if "Stack alignment causes use of alloca" { nvptx-*-* } } */ 3 4 #include "check.h" 5 6 typedef __SIZE_TYPE__ size_t; 7 #define ALIGNMENT 256 main(void)8int main(void) 9 { 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; 15 } 16