summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/stackalign/pr16660-2.c
blob: 9a039eb2bf50f33c8258fc45d9e45a0807ed5749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do run } */

#include "check.h"

typedef __SIZE_TYPE__ size_t;
#define ALIGNMENT 256
int main(void)
{
  int a[ALIGNMENT/sizeof(int)] __attribute__((aligned(ALIGNMENT)));
  check (&a, ALIGNMENT);
  return 0;
}