Debian Codegraph @

gcc/testsuite/g++.dg/compat/eh/ctor2_y.C

raw
1 extern int r;
2 void *p;
3
4 #include "ctor2.h"
5
6 VBase::VBase ()
7 {
8 p = this;
9 }
10
11 VBase::~VBase ()
12 {
13 if (p != this) r = 1;
14 }
15
16 Stream::Stream () {}
17 DerivedStream::DerivedStream ()
18 {
19 throw 1;
20 }