summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/rv-func2.C
blob: b792342dada384ff9bf9948a862890e9e03bfc5b (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/49458
// { dg-options -std=c++0x }

typedef void ftype();

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

ftype &&frvref = A();