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
+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.
// 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" }