Searched refs:new (Results 1 - 25 of 2273) sorted by relevance
1234567891011>>
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/parse/ |
H A D | new2.C | 3 // PR c++/14181: Cryptic error message for ill-formed new expressions 7 (void)new (char*)[10]; // { dg-error "parenthesized|parentheses" } 8 (void)new char*[10];
|
H A D | new4.C | 6 new int(; // { dg-error "before" }
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/parse/ |
H A D | new2.C | 3 // PR c++/14181: Cryptic error message for ill-formed new expressions 7 (void)new (char*)[10]; // { dg-error "parenthesized|parentheses" } 8 (void)new char*[10];
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/init/ |
H A D | new4.C | 1 int *x = new int [2] ();
|
H A D | new12.C | 5 int *v = new (int [5]);
|
H A D | new22.C | 3 void* operator new (__SIZE_TYPE__) { return; } // { dg-error "with no value" }
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/warn/ |
H A D | new1.C | 2 new int[0]; // { dg-bogus "zero" }
|
H A D | pr31246-2.C | 4 #include <new> 8 return new(ptr) int();
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.ext/ |
H A D | arrnew.C | 6 return new int[1] = { 1 }; // { dg-error "lvalue" "err" }
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | arm10.C | 9 int(*p)[10]=new int[20][10];
|
H A D | typeck2.C | 6 // Subject: 2.4.3: Type of new <typedef'ed array> 12 int * p = new int[10]; 13 int * q = new arr; /* g++ complains, but shouldn't */ 14 int (* r)[10] = new arr; /* g++ doesn't complain, but should */// { dg-error "" }
|
H A D | cvt1.C | 6 // Subject: g++ mixes up array dimensions with new 11 int (*a)[5] = new int[6][5];
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/init/ |
H A D | new4.C | 1 int *x = new int [2] ();
|
H A D | new12.C | 5 int *v = new (int [5]);
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.ext/ |
H A D | arrnew.C | 6 return new int[1] = { 1 }; // { dg-error "" } removed
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | arm10.C | 9 int(*p)[10]=new int[20][10];
|
H A D | typeck2.C | 6 // Subject: 2.4.3: Type of new <typedef'ed array> 12 int * p = new int[10]; 13 int * q = new arr; /* g++ complains, but shouldn't */ 14 int (* r)[10] = new arr; /* g++ doesn't complain, but should */// { dg-error "" }
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900406_01.C | 8 // keywords: segfault, operator new, array types, array bounds 12 new int[]; // { dg-error "" } causes segfault 17 new int (*)[]; // { dg-error "" } no size specified
|
H A D | 900519_06.C | 4 // g++ allows the type given in an invocation of operator new to be a 8 // from such an invocation (of operator new) is illegal, and thus (it seems) 9 // the entire call to new should be treated as being illegal. 15 new int&; // { dg-error "" } missed 16 new int_ref; // { dg-error "" } missed 17 new int&[n]; // { dg-error "" } missed 18 new int_ref[n]; // { dg-error "" } missed 19 new int&[3]; // { dg-error "" } missed 20 new int_ref[3]; // { dg-error "" } missed
|
H A D | 900519_09.C | 4 // g++ allows the allocation of const objects via operator new even when 5 // these uses of operator new do not include initializations. 11 // after the invocation of new, these cases should all be illegal. 13 // keywords: operator new, initialization, const qualifier 24 new const int; // { dg-error "" } 25 new const_int; // { dg-error "" } 26 new const struct_0; // { dg-error "" } 27 new const_struct_0; // { dg-error "" }
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900406_01.C | 8 // keywords: segfault, operator new, array types, array bounds 12 new int[]; // { dg-error "" } causes segfault 17 new int (*)[]; // { dg-error "" } no size specified
|
H A D | 900519_06.C | 4 // g++ allows the type given in an invocation of operator new to be a 8 // from such an invocation (of operator new) is illegal, and thus (it seems) 9 // the entire call to new should be treated as being illegal. 15 new int&; // { dg-error "" } missed 16 new int_ref; // { dg-error "" } missed 17 new int&[n]; // { dg-error "" } missed 18 new int_ref[n]; // { dg-error "" } missed 19 new int&[3]; // { dg-error "" } missed 20 new int_ref[3]; // { dg-error "" } missed
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/cpp0x/lambda/ |
H A D | lambda-98.C | 7 int **p = new(int(*[2]));
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/ext/ |
H A D | complex1.C | 3 // Testing if we can do a new of a complex type 6 void* q = new __complex__ int ();
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/ext/ |
H A D | complex1.C | 3 // Testing if we can do a new of a complex type 6 void* q = new __complex__ int ();
|
Completed in 142 milliseconds
1234567891011>>