Debian Codegraph @

gcc/testsuite/g++.dg/template/partial-order3.C

raw
1 // PR c++/108390
2 // { dg-do compile { target c++11 } }
3
4 template<class T, T t> long f(int(*)[t], T(*)[t]);
5 template<class T, int i> int f(int(*)[i], T(*)[i]) = delete;
6 int n = f<int, 2>(0, 0);