1/* { dg-do compile } */ 2/* { dg-add-options bind_pic_locally } */ 3 4struct B 5{ 6 virtual void test_suite_finish (); 7}; 8void 9fn1 (B & p2) 10{ 11 fn1 (p2); 12 B & a = p2; 13 a.test_suite_finish (); 14 B b; 15 fn1 (b); 16} 17