(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
conversion/
op2.C
// PR c++/13907

struct A {
  operator int & ();
  operator const int & () const;
};
                                                                               
          
void f(int &);
void f(const int &);
                                                                               
          
int main() {
  const A x = A();
  f(x);
}