summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/partial7.C
blob: 0fd157fdcec13709da968e85c3b76ed7a02a2726 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/43559

template<typename T, typename U> void f(U&) { }
template<typename T, typename U> void f(T const&) { }

int main()
{
        int a;
        f<int, int const>(a);
}