From 59889957006b2b7be62a206205ff8599c0ad830b Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 2 Nov 2000 02:29:31 +0000 Subject: [PATCH] Be sure to initialize the size before use. From-SVN: r37199 --- gcc/testsuite/g++.old-deja/g++.other/new3.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.old-deja/g++.other/new3.C b/gcc/testsuite/g++.old-deja/g++.other/new3.C index fa32cdde6cb..8839a6b8ee5 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/new3.C +++ b/gcc/testsuite/g++.old-deja/g++.other/new3.C @@ -6,6 +6,7 @@ struct A int size; A () { + size = 20; T *p; p = new T[size]; int foo;