(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
arrow2.C
// PR c++/56639

struct A {
  int i;
  static A* f();
};

struct B {
  void g() {
    int (A::f()->i);
  }
};