fix size_t

From-SVN: r73680
This commit is contained in:
Jason Merrill 2003-11-17 18:09:44 -05:00
parent 73eeb3d450
commit d2cf112d21
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
// We were expanding the same TARGET_EXPR twice, for placement new and
// delete.
void* operator new (unsigned int, void*) throw();
void* operator new (__SIZE_TYPE__, void*) throw();
void operator delete (void*, void*) throw();
struct A { A(); };

View File

@ -3,7 +3,7 @@
// { dg-do run }
void* operator new (unsigned int sz, void*) { return operator new (sz); }
void* operator new (__SIZE_TYPE__ sz, void*) { return operator new (sz); }
void operator delete (void* p, void*) { operator delete (p); }
struct A { A() { throw 1; } };