(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.other/
init2.C
// { 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)();
}