https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127371
Oleg Kuznetsov <w15developer at proton dot me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |w15developer at proton dot me
--- Comment #2 from Oleg Kuznetsov <w15developer at proton dot me> ---
I have found the same problem: https://godbolt.org/z/W4x6W166j
The first assest works because enum is in the same module
The second one doesn't work because enum is in the module partition
But compiler version is 16.2