blob: a56693a34b8f1079a068ebf63f549cf5644b81dd [file] [log] [blame]
// PR c++/94050 - ABI issue with alignas on armv7hl.
// { dg-do compile { target c++11 } }
struct alignas(8) Cell {};
struct TenuredCell : public Cell {};
struct BaseShape : public TenuredCell {
void *p;
unsigned q, r;
void *s;
__UINTPTR_TYPE__ t;
};
static_assert (sizeof (BaseShape) % 8 == 0, "");