blob: 0daa54f2fb21654e83736b79f2459e8eaabfd29c [file] [log] [blame]
// PR c++/77651
// { dg-do run { target { c++11 && c++14_down } } }
// { dg-options "-faligned-new -W -Wall -Wno-aligned-new" }
struct alignas(64) A { int i; };
int
main ()
{
A *p = new A;
if (((__UINTPTR_TYPE__) p) % 64 != 0)
__builtin_abort ();
delete p;
}