crash3.C: Use __SIZE_TYPE__ instead of setting the type of size_t by hand.
2004-06-19 Andrew Pinski <pinskia@physics.uc.edu> * g++.dg/lookup/crash3.C: Use __SIZE_TYPE__ instead of setting the type of size_t by hand. From-SVN: r83387
This commit is contained in:
parent
f44703b575
commit
bb60c95fac
@ -1,3 +1,9 @@
|
||||
2004-06-19 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* g++.dg/lookup/crash3.C: Use __SIZE_TYPE__
|
||||
instead of setting the type of size_t by
|
||||
hand.
|
||||
|
||||
2004-06-18 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* gcc.dg/unordered-2.c: New test case.
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Contributed by Wolfgang Wieser <wwieser at gmx dot de>
|
||||
// PR c++/15967: ICE with ambiguous operator new
|
||||
|
||||
typedef unsigned int size_t;
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
|
||||
struct A { void *operator new(size_t s){} }; // { dg-error "operator new" }
|
||||
struct B { void *operator new(size_t s){} }; // { dg-error "operator new" }
|
||||
|
Loading…
Reference in New Issue
Block a user