projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a09981
)
Be sure to initialize the size before use.
author
Mike Stump
<mrs@gcc.gnu.org>
Thu, 2 Nov 2000 02:29:31 +0000
(
02:29
+0000)
committer
Mike Stump
<mrs@gcc.gnu.org>
Thu, 2 Nov 2000 02:29:31 +0000
(
02:29
+0000)
From-SVN: r37199
gcc/testsuite/g++.old-deja/g++.other/new3.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.old-deja/g++.other/new3.C
b/gcc/testsuite/g++.old-deja/g++.other/new3.C
index fa32cdde6cbd757df2479c36da7ba5a4ae43171e..8839a6b8ee5f7520677eeb685c92a40cf8ba4096 100644
(file)
--- 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;