P08184R0: Generalizing the Range-Based For Loop
* parser.c (cp_convert_range_for): Set the type of __end separately. (cp_parser_perform_range_for_lookup): Allow different begin/end types if they are comparable. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r234191
Showing
gcc/testsuite/g++.dg/cpp1z/range-for1.C
0 → 100644
Please
register
or
sign in
to comment