// DR 1328 // { dg-options -std=c++0x } template struct A { operator T&(); // #1 operator T&&(); // #2 }; typedef int Fn(); A a; Fn&& f = a;