aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-51.C
blob: f2b66029e5a06ed87ccbbc49b348b545d32c4e6b (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile { target c++11 } }

typedef char layout_type;
struct A
{
    layout_type member [[gnu::aligned (16)]];
};

static_assert (sizeof (A) == 16, "Alignment should be 16");