blob: e9754f3251cad611a8d17618b5618346376d6ba3 [file] [log] [blame]
// PR c++/40619
// { dg-do compile { target c++11 } }
template<typename U> struct X {};
template<typename T> auto f(T t) -> X<decltype(t+1)> {}
template<typename T> auto g(T t) -> X<decltype(t+1)> {}