Searched refs:new (Results 26 - 50 of 1541) sorted by relevance
1234567891011>>
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | bad-error3.C | 6 // Subject: g++-2.6.0 gives wrong warning for placement syntax new 12 void * operator new(size_t, int *); 13 void * operator new(size_t, void *); 17 new (x) int *; 18 new (&x) int *; 19 new (x) int *; // This is identical to line 8 !!!
|
H A D | bad-error4.C | 5 void * operator new(size_t, int *); 6 void * operator new(size_t, void *); 10 new (x) int *; 11 new (&x) int *; 12 new (x) int *; // This is identical to line 8 !!!
|
H A D | cvt14.C | 13 d = new double(10);
|
H A D | cvt22.C | 13 int* a1 = new A;
|
H A D | operators25.C | 3 // opr-new file 13 PPF pf2 = new (int (*) (int)); // internal compiler error on this line.
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/ |
H A D | new35.C | 8 new A; // { dg-warning "array" } 9 new A[0]; // { dg-error "must be constant|not a constant" } 10 new A[5]; // { dg-error "must be constant|not a constant" } 11 new (A[0]); // { dg-error "must be constant|not a constant" } 12 new (A[5]); // { dg-error "must be constant|not a constant" }
|
H A D | placement1.C | 2 // We were expanding the same TARGET_EXPR twice, for placement new and 5 void* operator new (__SIZE_TYPE__, void*) throw(); 10 void foo() { new(new A)A; }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lookup/ |
H A D | new1.C | 3 // PR c++/2518: operator new must not be looked up in local scope 7 void* operator new(__SIZE_TYPE__ s, int* p); 8 int* e = new(&i) int; // { dg-error "no matching function" } 9 int* f = new int; 13 // { dg-message "operator new|candidate expects" "" { target *-*-* } 0 }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tree-ssa/ |
H A D | pr19476-2.C | 4 #include <new> 7 int *p = new(std::nothrow) int; 11 int *p = new int[50];
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/abi/ |
H A D | guard1.C | 7 static int &i = *new int();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/ |
H A D | vector4.C | 3 // Testing if we can do a new of a vector 6 void* q = new int __attribute__((vector_size(8))) ();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lto/ |
H A D | 20080910-1_0.C | 2 struct Foo { Foo(int); }; void func() { new Foo(0); }
|
H A D | 20081125_1.C | 6 return new object ();
|
H A D | 20081127_0.C | 2 static void func() { new Foo(); }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/ |
H A D | crash29.C | 9 A(void* = &operator new);
|
H A D | new5.C | 4 A* ap = new(struct: A { }); // { dg-error "types may not be defined" }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/ |
H A D | dependent-name1.C | 5 // PR c++/10347: Dependent type checking of array new expression 10 bar(new int[1]);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/ |
H A D | str_empty.C | 12 new polynomial[0]; // { dg-bogus "allocating zero-element array" }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900208_03.C | 8 // allocate a function using new. 10 // keywords: operator new, function types 16 new func_type; // { dg-error "" } missed by both cfront 2.0 and g++ 1.36.1
|
H A D | 900211_03.C | 8 // keywords: segfault, operator new, arrays, undeclared, array bound 12 char* new_base = new char[x]; // { dg-error "" }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.ext/ |
H A D | arrnew2.C | 4 int *foo = new int[1](42); // { dg-bogus "" }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
H A D | new5.C | 4 const int *p = new const int (0);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | array4.C | 5 int* arr = new int[FOO];
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | t36.C | 5 return new ip;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/ |
H A D | Wunused-var-21.C | 8 int *volatile a = new int[1]; 15 int *b = new int[1]; 22 int *volatile c = new int; 29 int *d = new int;
|
Completed in 130 milliseconds
1234567891011>>