Debian Codegraph @

gcc/testsuite/g++.dg/template/partial7.C

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