1// PR c++/43559
2
3template<typename T, typename U> void f(U&) { }
4template<typename T, typename U> void f(T const&) { }
5
6int main()
7{
8        int a;
9        f<int, int const>(a);
10}
11