Searched refs:new (Results 351 - 375 of 1541) sorted by relevance

<<11121314151617181920>>

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Darray1.C6 // Subject: constructors not called on new'ed array elements
24 foo* foo::array = new foo [5];
H A Dctors8.C16 foo *arr = new foo[2];
H A Doperators15.C19 T * ps1 = new T;
H A Doperators22.C15 m *p() {return new m;}
H A Doperators29.C19 Ptr<int> ip = new int(2);
H A Dpr25000.C14 pRes = new int();
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp6927.C12 Object *pArr = new Object[2];
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dcrash39.C16 tmp *tp = new tmp;
H A Dexplicit55.C4 return new T;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb63.C16 a = new A[2](1,false);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lto/
H A Dpr42987_0.C14 return new D;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/
H A Dpr53970.C12 mystruct *a = new mystruct;
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/
H A Ddeclbad.go20 i := f1() // ERROR "redeclared|no new"
36 // no new variables
38 i, f := f2() // ERROR "redeclared|no new"
42 // multiline no new variables
44 i := func() int { // ERROR "redeclared|no new|incompatible"
52 i := 1 // ERROR "redeclared|no new|incompatible"
58 i, f := f2() // ERROR "redeclared|no new"
64 i, f, s := f3() // ERROR "redeclared|no new"
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/conversion/
H A Dop4.C8 return *(new X);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dauto5.C15 auto p = new auto (a);
H A Dvariadic-new2.C4 #include <new>
H A Ddefaulted22.C16 A* ap = new B();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dbuiltin-line1.C16 assert ((new Foo)->line == __LINE__);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp1y/
H A Dvla4.C5 #include <new>
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ipa/
H A Ddevirt-46.C18 struct A *a = new B;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Ddevirt4.C13 foo *x(new bar);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tree-ssa/
H A Dcalloc.C5 inline void* operator new(size_t, void* p) throw() { return p; }
10 inline void* operator new(size_t sz)
34 start = static_cast<int*> (operator new (n * sizeof(int)));
44 new (p) vect(n);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/expr/
H A Dassign1.C7 inline void *operator new (__SIZE_TYPE__, void *ptr)
30 base = new (&base_alias) Base ();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Darray15.C27 void *operator new (__SIZE_TYPE__ size, void *p)
39 foo *f = new (heap) foo ();
H A Dnew16.C5 // placement new.
10 inline void* operator new(size_t, void* __p) throw() { return __p; }
21 f = new (p) long;

Completed in 109 milliseconds

<<11121314151617181920>>