* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / alignas1.C
blobd73c875d6374a021290ed0e284a7829adccfef8d
1 // PR c++/65734
2 // { dg-do compile { target c++11 } }
4 template <class T> struct A
6   T t;
7 };
9 typedef A<int> T[4] alignas (2 * alignof (int));
10 A<int> a[4];
12 typedef A<char> T2[4] alignas (2 * alignof (int));
14 #define SA(X) static_assert((X),#X)
15 SA(alignof (T) == 2 * alignof(int));
16 SA(alignof (T2) == 2 * alignof(int));