Debian Codegraph @

gcc/testsuite/g++.dg/ext/attrib52.C

raw
1 // PR c++/66216
2 // { dg-do compile { target c++11 } }
3 // { dg-options "" }
4
5 class CMymy
6 {
7 unsigned char _a;
8 unsigned char _b;
9 public:
10 constexpr CMymy() : _a(), _b() {}
11
12 constexpr CMymy(const CMymy &) = default;
13 CMymy &operator=(const CMymy &) = default;
14
15 } __attribute__((aligned(2)));