1 // { dg-options -faligned-new } 2 // { dg-do run } 3 4 #include <new> 5 #include <stdint.h> 6 7 struct A { int i; }; 8 main()9 int main() 10 { 11 A* ap = new (std::align_val_t(64)) A; 12 if (intptr_t(ap) % 64 != 0) 13 __builtin_abort(); 14 } 15