repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
typedef-redecl.C
blob
576c7ce03323d4a0d73a0a25783f327fc1870c48
1
// PR c/70297
2
// { dg-do compile { target c++11 } }
3
4
#define N 64
5
6
typedef int T;
7
typedef int T __attribute__((aligned (N)));
8
typedef int T __attribute__((aligned (N * 2)));
9
typedef int T __attribute__((aligned (N)));
10
typedef int T;
11
12
static_assert (alignof (T) == N * 2, "N * 2");