Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignas19.C
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
];
}
};