Revert "c++: Fix overeager Woverloaded-virtual with conversion operators [PR109918]"
[official-gcc.git] / gcc / testsuite / g++.dg / ext / align2.C
blobda54bd9386b34148c522bd3afc117f2ef0329715
1 // PR c++/10179
3 struct __attribute((aligned(__alignof(double)))) A
4 { /* empty */ };
6 struct T : public A
8   char c;
9 };
11 template<bool> struct StaticAssert;
12 template<> struct StaticAssert<true> {};
14 StaticAssert<__alignof(T) == __alignof(double)> d;