gcc/testsuite/gcc.dg/torture/stackalign/pr16660-3.c
raw| 1 | /* { dg-do run } */ |
| 2 | |
| 3 | #include "check.h" |
| 4 | |
| 5 | typedef __SIZE_TYPE__ size_t; |
| 6 | #define ALIGNMENT 256 |
| 7 | int main(void) |
| 8 | { |
| 9 | int a[ALIGNMENT/sizeof(int)] __attribute__((aligned(ALIGNMENT))); |
| 10 | check (&a, ALIGNMENT); |
| 11 | int b[ALIGNMENT/sizeof(int)] __attribute__((aligned(ALIGNMENT))); |
| 12 | check (&b, ALIGNMENT); |
| 13 | return 0; |
| 14 | } |