1 // PR c++/71879 2 // { dg-do compile { target c++11 } } 3 f(T x)4 template <class T> void f(T x) { x.fail(); } 5 using R = decltype(&f<int>); 6