From: Andrew Pinski Date: Sat, 19 Jun 2004 16:33:50 +0000 (+0000) Subject: crash3.C: Use __SIZE_TYPE__ instead of setting the type of size_t by hand. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb60c95face9e13d4d62dc028bd20e073b4babcf;p=gcc.git crash3.C: Use __SIZE_TYPE__ instead of setting the type of size_t by hand. 2004-06-19 Andrew Pinski * g++.dg/lookup/crash3.C: Use __SIZE_TYPE__ instead of setting the type of size_t by hand. From-SVN: r83387 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 362d4f92e14..92679a2092e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-06-19 Andrew Pinski + + * g++.dg/lookup/crash3.C: Use __SIZE_TYPE__ + instead of setting the type of size_t by + hand. + 2004-06-18 Roger Sayle * gcc.dg/unordered-2.c: New test case. diff --git a/gcc/testsuite/g++.dg/lookup/crash3.C b/gcc/testsuite/g++.dg/lookup/crash3.C index ef025fa76aa..24a3360ba33 100644 --- a/gcc/testsuite/g++.dg/lookup/crash3.C +++ b/gcc/testsuite/g++.dg/lookup/crash3.C @@ -2,7 +2,7 @@ // Contributed by Wolfgang Wieser // 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" }