☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignas19.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/alignas19.C
code
plain
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
};