/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/init/ |
H A D | new4.C | 1 int *x = new int [2] ();
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.ext/ |
H A D | arrnew.C | 6 return new int[1] = { 1 }; // ERROR - removed
|
H A D | arrnew2.C | 4 int *foo = new int[1](0); // gets bogus error -
|
/openbsd-current/gnu/usr.bin/gcc/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 */// ERROR -
|
H A D | cvt1.C | 6 // Subject: g++ mixes up array dimensions with new 11 int (*a)[5] = new int[6][5];
|
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.
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900406_01.C | 7 // keywords: segfault, operator new, array types, array bounds 11 new int[]; // ERROR - causes segfault 16 new int (*)[]; // ERROR - no size specified
|
H A D | 900519_06.C | 3 // g++ allows the type given in an invocation of operator new to be a 7 // from such an invocation (of operator new) is illegal, and thus (it seems) 8 // the entire call to new should be treated as being illegal. 14 new int&; // ERROR - missed 15 new int_ref; // ERROR - missed 16 new int&[n]; // ERROR - missed 17 new int_ref[n]; // ERROR - missed 18 new int&[3]; // ERROR - missed 19 new int_ref[3]; // ERROR - missed
|
H A D | 900519_09.C | 3 // g++ allows the allocation of const objects via operator new even when 4 // these uses of operator new do not include initializations. 10 // after the invocation of new, these cases should all be illegal. 12 // keywords: operator new, initialization, const qualifier 23 new const int; // ERROR - 24 new const_int; // ERROR - 25 new const struct_0; // ERROR - 26 new const_struct_0; // ERROR -
|
H A D | 900208_03.C | 7 // allocate a function using new. 9 // keywords: operator new, function types 15 new func_type; // ERROR - missed by both cfront 2.0 and g++ 1.36.1
|
H A D | 900211_03.C | 7 // keywords: segfault, operator new, arrays, undeclared, array bound 11 char* new_base = new char[x]; // ERROR -
|
/openbsd-current/gnu/usr.bin/perl/cpan/version/t/ |
H A D | 10_lyon.t | 10 ok('version'->new(1.0203) == 'version'->new('1.0203')); 11 ok('version'->new(1.02_03) == 'version'->new('1.02_03')); 12 ok('version'->new(v1.2.3) == 'version'->new('v1.2.3')); 14 ok('version'->new(v1.2.3_0) == 'version'->new('v1.2.3_0')); 17 cmp_ok('version'->new(1.0203), '==', 'version'->new('1.020 [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
H A D | new5.C | 3 const int *p = new const int (0);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | array4.C | 5 int* arr = new int[FOO];
|
H A D | new2.C | 3 void *operator new(size_t, unsigned int); 11 void f(X *x = new X); // ERROR - 13 void f(X *x = new X(4)); // ERROR - 15 void f(X *x = new X[4]); // ERROR - 17 void f(X *x = new (3) X(6)); // ERROR - 19 void f(X *x = new (2) X[10]); // ERROR - 21 void f(X *x = new X[10][5]); // ERROR -
|
H A D | delete5.C | 11 void *operator new(size_t) 15 void *operator new[](size_t) 26 void *operator new(size_t) throw() 30 void *operator new[](size_t) throw() 38 Y *yp = new Y;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | t36.C | 5 return new ip;
|
/openbsd-current/lib/libc/arch/m88k/gen/ |
H A D | fpsetmask.c | 16 fp_except new; local 20 new = old; 21 new &= ~0x1f; /* clear bottom 5 bits and */ 22 new |= (mask & 0x1f); /* set them to mask */ 24 __asm__ volatile("fstcr %0, %%fcr63" : : "r" (new));
|
H A D | fpsetround.c | 16 fp_rnd new; local 20 new = old; 21 new &= ~(0x03 << 14); /* clear old value */ 22 new |= ((rnd_dir & 0x03) << 14);/* and set new one */ 24 __asm__ volatile("fstcr %0, %%fcr63" : : "r" (new));
|
H A D | fpsetsticky.c | 16 fp_except new; local 20 new = old; 21 new &= ~(0x1f); 22 new |= (sticky & 0x1f); 24 __asm__ volatile("fstcr %0, %%fcr62" : : "r" (new));
|