☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial-order3.C
☽
☼
gcc/testsuite/g++.dg/template/partial-order3.C
code
plain
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);