1 typedef __SIZE_TYPE__ size_t;
2 void *operator new(size_t, unsigned int);
10 void f(X *x = new X); // { dg-error "" }
12 void f(X *x = new X(4)); // { dg-error "" }
14 void f(X *x = new X[4]); // { dg-error "" }
16 void f(X *x = new (3) X(6)); // { dg-error "" }
18 void f(X *x = new (2) X[10]); // { dg-error "" }
19 // { dg-error "candidate" "" { target *-*-* } 00 }
21 void f(X *x = new X[10][5]); // { dg-error "" }