// { dg-do run }__SIZE_TYPE__newsize=0;__SIZE_TYPE__delsize=0;structA{inti;void*operatornew[](__SIZE_TYPE__i){newsize=i;return::operatornew[](i);}voidoperatordelete[](void*p,__SIZE_TYPE__i){delsize=i;::operatordelete[](p);}};intmain(){A*ap=newA[2];delete[]ap;if(!newsize||newsize!=delsize)return1;return0;}