blob: 1b4ae8f82b2bceefe5b6e5d648c096d6fd1e7271 (
plain)
1
2
3
4
5
6
7
|
// PR c++/40619
// { dg-options "-std=c++0x" }
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)> {}
|