blob: df57c06bed6ae97db23e38743b536e480cd5963d [file] [log] [blame]
// PR sanitizer/60569
// { dg-do link }
// { dg-require-effective-target lto }
// { dg-options "-fsanitize=undefined -flto" }
struct A
{
void foo ();
struct
{
int i;
void bar () { i = 0; }
} s;
};
void A::foo () { s.bar (); }
int
main ()
{
}