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

--- Comment #5 from d7d1cd <d7d1cd at mail dot ru> ---
(In reply to Nathaniel Shead from comment #4)
> Thanks, though that doesn't appear to reproduce the ICE

A shorter example that reproduces ICE:
  $ cat module.ixx
  module;
  #include <cstdio>
  export module M;
  export using ::std::scanf;

  $ cat main.cc
  import M;
  #include <cstdio>
  int main() {}

Reply via email to