Searched refs:new (Results 251 - 275 of 1541) sorted by relevance

<<11121314151617181920>>

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dctors13.C10 A* a = new A();// { dg-error "" } .*
H A Doperators28.C10 void* operator new(size_t sz, int count, int type);
13 void* new_test::operator new(size_t sz, int count, int type)
19 p = new char[sz * count];
29 test = new(count, 1) new_test;
H A Dscope2.C18 void *operator new (size_t);
22 void *foo::operator new (size_t size)
37 foo *f = new foo;
38 foo *ff = ::new foo;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.niklas/
H A Dt115.C6 C *c = new C;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.oliva/
H A Ddelete2.C22 delete [] new Bar[1];
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dbadopt1.C13 array[count++] = new Derived (); // but then new Base() does
H A Dcrash26.C12 foo *a = new foo(foo::not); // { dg-error "" }
H A Ddebug6.C21 X *x = new X;
H A Ddelete1.C14 new cl_heap_null_ring();
H A Ddelete3.C2 #include <new>
19 void* operator new(std::size_t numBytes, SomeClass&, const std::nothrow_t&) throw()
21 return operator new(numBytes, std::nothrow);
33 map< int, int>* pMap = new map< int, int>;
H A Ddtor12.C4 #include <new>
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dcrash35.C6 Str(int& val= (*new int()));
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb58.C14 A *list = new A[10](4);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dsfinae41.C5 void f(decltype(new T(1, 2)) *)
H A Dinitlist-value.C4 void * operator new (__SIZE_TYPE__, void *p) { return p; }
5 void * operator new[] (__SIZE_TYPE__, void *p) { return p; }
24 A* ap = new (&space) A{};
26 A* a1p = new (space1) A[1]{};
H A Dinitlist8.C18 new B{3.2, a};
H A Dinitlist59.C17 B* p = new B{A()};
H A Dinitlist21.C14 const float * pData = new const float[1] { 1.5, 2.5 }; // { dg-error "too many initializers" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dnew34.C10 return new A((A(),A()));
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lto/
H A Dpr42987_1.C9 return new D;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/other/
H A Dpr55650.C21 return new B;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tm/
H A Dpr51516.C13 alloc = new C;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ubsan/
H A Dpr59250.C17 e = new E ();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/inherit/
H A Dvirtual10.C9 A* p = new B;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ipa/
H A Ddevirt-31.C7 a = new(A);

Completed in 113 milliseconds

<<11121314151617181920>>