crash3.C: Use __SIZE_TYPE__ instead of setting the type of size_t by hand.
authorAndrew Pinski <pinskia@physics.uc.edu>
Sat, 19 Jun 2004 16:33:50 +0000 (16:33 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 19 Jun 2004 16:33:50 +0000 (09:33 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/crash3.C

index 362d4f92e1426bdedc90a666d7dcad35f911aa2c..92679a2092ed6f85269e9dd8d967840de4de9a8e 100644 (file)
@@ -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.
index ef025fa76aa78ba1e628210e84ce63f0a10c91fb..24a3360ba33e4be8737336f41fa2c56a565e5b31 100644 (file)
@@ -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" }