]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/other/nontype-1.C
Implement P0634R3, Down with typename!
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / other / nontype-1.C
CommitLineData
7dddebd7 1template <class Op>
2bool asfun(Op f,
e98322ca 3 Op::first_argument_type a, // { dg-error "not a type" "" { target c++17_down } }
4 Op::second_argument_type b) // { dg-error "not a type" "" { target c++17_down } }
b9dd3954 5{
7dddebd7 6 return Op(a, b);
7}