blob: 6812292417c03d94da36c8d51a64ab4d045ee1e1 [file] [log] [blame]
// { dg-do run }
// { dg-options "-O3" }
typedef int (*fp)();
struct S
{
fp f;
};
static int f()
{
return 0;
}
static const S s = { &f };
int main()
{
return (*s.f)();
}