Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/alignas19.C

raw
1 // PR c++/94775
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options "-mstrict-align" { target { aarch64*-*-* powerpc*-*-linux* powerpc*-*-elf* } } }
4
5 struct alignas(8) S {
6 S *arr[1];
7 void fn () const { (void) arr[0]; }
8 };