From bb60c95face9e13d4d62dc028bd20e073b4babcf Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 19 Jun 2004 16:33:50 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/lookup/crash3.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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" } -- 2.30.2