Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/gen-attrs-51.C

raw
1 // { dg-do compile { target c++11 } }
2
3 typedef char layout_type;
4 struct A
5 {
6 layout_type member [[gnu::aligned (16)]];
7 };
8
9 static_assert (sizeof (A) == 16, "Alignment should be 16");