Be sure to initialize the size before use.

From-SVN: r37199
This commit is contained in:
Mike Stump 2000-11-02 02:29:31 +00:00
parent 7a09981746
commit 5988995700

View File

@ -6,6 +6,7 @@ struct A
int size;
A ()
{
size = 20;
T *p;
p = new T[size];
int foo;