comparison gcc/testsuite/g++.dg/template/overload5.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
22 f_obj<&foo::f> a; // OK 22 f_obj<&foo::f> a; // OK
23 f_obj<foo::f> b; // ERROR: foo::f cannot be a constant expression 23 f_obj<foo::f> b; // ERROR: foo::f cannot be a constant expression
24 24
25 f_obj<&foo::g> c; // OK 25 f_obj<&foo::g> c; // OK
26 f_obj<foo::g> d; // OK 26 f_obj<foo::g> d; // OK
27 return 0;
27 } 28 }
28 29