blob: 892125b54df19681ce2ef241ee0507fcee8cbcea [file] [log] [blame]
// PR c++/94775
// { dg-do compile { target c++11 } }
// { dg-additional-options "-mstrict-align" { target { aarch64*-*-* powerpc*-*-linux* powerpc*-*-elf* } } }
struct alignas(8) S {
S *arr[1];
void fn () const { (void) arr[0]; }
};