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