fix size_t
From-SVN: r73680
This commit is contained in:
parent
73eeb3d450
commit
d2cf112d21
@ -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(); };
|
||||
|
@ -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; } };
|
||||
|
Loading…
Reference in New Issue
Block a user