view gcc/testsuite/g++.dg/torture/pr55260-2.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 } */
/* { dg-add-options bind_pic_locally } */

struct B
{
    virtual void test_suite_finish ();
};
void
fn1 (B & p2)
{
    fn1 (p2);
    B & a = p2;
    a.test_suite_finish ();
    B b;
    fn1 (b);
}