https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114933
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2615r1.html `For consistency extern "C" is given the same restrictions when used directly.` So yes.