/* { dg-lto-do link } *//* { dg-lto-options {{-fPIC -flto -flto-partition=1to1 -r -nostdlib}} } *//* We used to ICE because of dangling pointers. */classobject{public:virtual~object(){}};classfoo:publicobject{virtualintmethod(void);};intfoo::method(void){}