view gcc/testsuite/gcc.dg/typedef-redecl2.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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");