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

Nathaniel Shead <nshead at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-05-24
                 CC|                            |nshead at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
Confirmed.  Another related testcase with a different kind of using-declaration
from PR114868:

  // using_enum_a.cpp
  module;
  namespace foo {
    enum class a { x, y, z };
  }
  export module M:a;
  namespace bar {
    export using enum foo::a;
  }

  // using_enum_b.cpp
  export module M;
  export import :a;

  // using_enum_c.cpp
  import M;
  int main() {
    auto x = bar::x;
  }

Reply via email to