☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr83471.C
☽
☼
gcc/testsuite/g++.dg/torture/pr83471.C
code
plain
raw
1
/* { dg-do compile } */
2
3
class a {
4
public:
5
void *operator new(__SIZE_TYPE__, int);
6
};
7
class b : public a {
8
public:
9
b();
10
virtual void c() {}
11
void m_fn2();
12
};
13
int d;
14
void e() {
15
long f;
16
b *g;
17
(f);
18
g = new (d) b;
19
g->c();
20
g->m_fn2();
21
}