https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98635
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |11.2.0 Keywords| |needs-bisection Known to work| |12.0 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks to be fixed on the trunk: <source>:4:24: error: expected ';' before '}' token 4 | coll.begin() | ^ | ; 5 | } | ~ <source>:2:6: error: constraints on a non-templated function 2 | void printColl(auto& coll) | ^~~~~~~~~