repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
compat
/
eh
/
ctor2_y.C
blob
00ba92000e4e764366ba832542b7d4e64b854127
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
}