repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignas19.C
blob
892125b54df19681ce2ef241ee0507fcee8cbcea
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
};