[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib52.C
blobe33556c979801ce2b73191cf637e31cc2d6175dc
1 // PR c++/66216
2 // { dg-do compile { target c++11 } }
3 // { dg-options "" }
5 class CMymy
7   unsigned char _a;
8   unsigned char _b;
9 public:
10   constexpr CMymy() : _a(), _b() {}
12   constexpr CMymy(const CMymy &) = default;
13   CMymy &operator=(const CMymy &) = default;
15 } __attribute__((aligned(2)));