1 2 3 4 5 6 7 8 9 10
// DR 1328 // { dg-options -std=c++0x } template <class T> struct A { operator T&(); // #1 operator T&&(); // #2 }; typedef int Fn(); A<Fn> a; Fn&& f = a;