(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
rv-func2.C
// PR c++/49458
// { dg-do compile { target c++11 } }

typedef void ftype();

struct A {
  operator ftype&(void);
};

ftype &&frvref = A();