1 // PR c++/77651 2 // { dg-do run { target { c++11 && c++14_down } } } 3 // { dg-options "-faligned-new -W -Wall -Wno-aligned-new" } 4 5 struct alignas(64) A { int i; }; 6 7 int main()8 main () 9 { 10 A *p = new A; 11 if (((__UINTPTR_TYPE__) p) % 64 != 0) 12 __builtin_abort (); 13 delete p; 14 } 15