comparison gcc/testsuite/gcc.dg/typedef-redecl2.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR c/70297 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4
5 #define N 64
6
7 typedef int T;
8 typedef int T __attribute__((aligned (N)));
9 typedef int T __attribute__((aligned (N * 2)));
10 typedef int T __attribute__((aligned (N)));
11 typedef int T;
12
13 _Static_assert (_Alignof (T) == N * 2, "N * 2");