view gcc/testsuite/g++.dg/cpp0x/typedef-redecl.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

// PR c/70297
// { dg-do compile { target c++11 } }

#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");