Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/fntmpdefarg-partial1.C

raw
1 // PR c++/105481
2 // { dg-do compile { target c++11 } }
3
4 template<unsigned> struct uint;
5 template<unsigned N> uint<N> f(const uint<N> &);
6 template<unsigned N, typename T, typename = uint<N>> uint<N> f(T);
7 using X = uint<1>;
8 X (*fp)(X const &) = f;