projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d579fbc
)
* new2.C: Initialize newed after entering main.
author
Martin v. Löwis
<loewis@gcc.gnu.org>
Tue, 23 Mar 1999 00:53:39 +0000
(
00:53
+0000)
committer
Martin v. Löwis
<loewis@gcc.gnu.org>
Tue, 23 Mar 1999 00:53:39 +0000
(
00:53
+0000)
From-SVN: r25916
gcc/testsuite/g++.old-deja/g++.eh/new2.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.old-deja/g++.eh/new2.C
b/gcc/testsuite/g++.old-deja/g++.eh/new2.C
index 17bea5e13b2592930618a7a4185e563e9ed746b6..ddc8ba82e58f9fb7fb22b8aa16aefa79435d442b 100644
(file)
--- a/
gcc/testsuite/g++.old-deja/g++.eh/new2.C
+++ b/
gcc/testsuite/g++.old-deja/g++.eh/new2.C
@@
-19,6
+19,7
@@
int newed, created;
int main ()
{
+ newed = 0; // The libraries might call new before main starts.
try {
foo (new B (A ()));
} catch (...) { }