summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-13 02:23:37 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-13 02:23:37 +0000
commitb05c30c8fde6b8a7e0a95ac327853d272af43e3d (patch)
tree4fb5db802ca16fb5ac9e13df700b5818c5fde237
parent119f800ed17a51e943cb48d6291b75098b846530 (diff)
downloadgcc-b05c30c8fde6b8a7e0a95ac327853d272af43e3d.tar.gz
* g++.dg/init/new8.C: Use __SIZE_TYPE__ to get the type of size_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70399 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/g++.dg/init/new8.C2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 09b0248ff7a..035358b69f1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,7 @@
2003-08-12 Mark Mitchell <mark@codesourcery.com>
+ * g++.dg/init/new8.C: Use __SIZE_TYPE__ to get the type of size_t.
+
* g++.dg/parse/ret-type2.C: New test.
PR c++/11703
diff --git a/gcc/testsuite/g++.dg/init/new8.C b/gcc/testsuite/g++.dg/init/new8.C
index 92c8cd260ff..1fefc366ba8 100644
--- a/gcc/testsuite/g++.dg/init/new8.C
+++ b/gcc/testsuite/g++.dg/init/new8.C
@@ -1,4 +1,4 @@
-typedef unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
enum Refcount_Type {
NO_REFCOUNT