new2.C: Use first operand of type __SIZE_TYPE__ for operator new.
* g++.dg/lookup/new2.C: Use first operand of type __SIZE_TYPE__ for operator new. From-SVN: r84640
This commit is contained in:
parent
2aaf3dd5b4
commit
a65ab52456
@ -1,3 +1,8 @@
|
||||
2004-07-15 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* g++.dg/lookup/new2.C: Use first operand of type __SIZE_TYPE__
|
||||
for operator new.
|
||||
|
||||
2004-07-13 David Billinghurst (David.Billinghurst@riotinto.com)
|
||||
|
||||
* gfortran.dg/g77/README: New file
|
||||
|
@ -3,9 +3,9 @@
|
||||
// declared as static.
|
||||
|
||||
namespace A {
|
||||
void* operator new(unsigned s, int* p); // { dg-error "namespace" }
|
||||
void operator delete(void*); // { dg-error "namespace" }
|
||||
void* operator new(__SIZE_TYPE__ s, int* p); // { dg-error "namespace" }
|
||||
void operator delete(void*); // { dg-error "namespace" }
|
||||
}
|
||||
|
||||
static void* operator new(unsigned s, int* p); // { dg-error "static" }
|
||||
static void operator delete(void*); // { dg-error "static" }
|
||||
static void* operator new(__SIZE_TYPE__ s, int* p); // { dg-error "static" }
|
||||
static void operator delete(void*); // { dg-error "static" }
|
||||
|
Loading…
Reference in New Issue
Block a user