Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/other/pr22003.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
/* PR rtl-optimization/22003 */ /* { dg-do compile } */ /* { dg-require-effective-target freorder } */ /* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */ struct c1 { virtual ~c1(); }; class c4; struct c2 { virtual c4* func(); }; struct c3 : c1, c2 { c4* func(); }; c4* c3::func() { return 0; }