summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/typedef-redecl2.c
blob: c2314c78eaa4ee0fe866d66140adafd16f3e9ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR c/70297 */
/* { dg-do compile } */
/* { dg-options "" } */

#define N 64

typedef int T;
typedef int T __attribute__((aligned (N)));
typedef int T __attribute__((aligned (N * 2)));
typedef int T __attribute__((aligned (N)));
typedef int T;

_Static_assert (_Alignof (T) == N * 2, "N * 2");