aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/rv-func2.C
blob: cfa0b2149bd35b99eab798615b0e635006d3e5d7 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/49458
// { dg-do compile { target c++11 } }

typedef void ftype();

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

ftype &&frvref = A();