Commit b68a1689 by H.J. Lu Committed by H.J. Lu

Add a tetst for PR middle-end/83471

	PR middle-end/83471
	* g++.dg/torture/pr83471.C: New test.

From-SVN: r255821
parent f35629b7
2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/83471
* g++.dg/torture/pr83471.C: New test.
2017-12-19 Martin Liska <mliska@suse.cz>
* gcc.dg/tree-prof/switch-case-1.c: Scan IPA profile dump
......
/* { dg-do compile } */
class a {
public:
void *operator new(__SIZE_TYPE__, int);
};
class b : public a {
public:
b();
virtual void c() {}
void m_fn2();
};
int d;
void e() {
long f;
b *g;
(f);
g = new (d) b;
g->c();
g->m_fn2();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment