Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/torture/PR58294.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { dg-do compile } struct A { virtual ~A(); virtual void m_fn1() { delete this; } void m_fn2() { m_fn1(); } }; struct B { A *pi_; B() { pi_->m_fn2(); } }; struct C { B pn; }; void _setjmp(); int png_decode() { _setjmp(); C a; return 0; }