* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-48.C
blob360c093bf5a3dd4b153b616867333b9f23358988
1 // { dg-do compile { target c++11 } }
3 typedef char layout_type;
5 struct A {
6   layout_type member alignas (double);
7 };
9 static_assert (alignof (A) == alignof (double),
10                "alignment of struct A must be alignof (double)");
12 struct alignas (alignof (long double)) B {
13   layout_type member;
16 static_assert (alignof (B) == alignof (long double),
17                "alignment of struct A must be alignof (double double)");