[Bug c++/122922] Valid code rejected because of interaction of friend function and global module fragment

alberto.gcc.bugzilla at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 4 14:32:35 GMT 2025


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

--- Comment #4 from Alberto <alberto.gcc.bugzilla at gmail dot com> ---
(In reply to Alberto from comment #3)
>   // c.cpp
>   import VF;
>   int main() {
>     TCampo<2, 1>();
>   }

This was meant to be:
  import VF;
  int main() {
    TCampo<1>();
  }


More information about the Gcc-bugs mailing list