https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125300

--- Comment #2 from Jason Liam <jlame646 at gmail dot com> ---
@Drea Pinski GCC accepts this invalid program. Initially there was a typo in
the title of the question. It said rejected when it should be saying accepted.
I've fixed the title now. The problem is that gcc is accepting the program.
I've attached the demo link: https://godbolt.org/z/1cjfb9sbP

Reply via email to