libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / alignas19.C
blob892125b54df19681ce2ef241ee0507fcee8cbcea
1 // PR c++/94775
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options "-mstrict-align" { target { aarch64*-*-* powerpc*-*-linux* powerpc*-*-elf* } } }
5 struct alignas(8) S {
6   S *arr[1];
7   void fn () const { (void) arr[0]; }
8 };