https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120531
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, | |ice-on-invalid-code --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- clang rejects it with t.C:4:16: error: 'auto' not allowed here 4 | enum class E : auto {