☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
nontype-1.C
☽
☼
gcc/testsuite/g++.dg/other/nontype-1.C
code
plain
raw
1
template <class Op>
2
bool asfun(Op f,
3
Op::first_argument_type a, // { dg-error "not a type" }
4
Op::second_argument_type b) // { dg-error "not a type" }
5
{
6
return Op(a, b);
7
}