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

Johel Ernesto Guerrero Peña <johelegp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[modules] ICE requires in   |[modules] ICE dependent
                   |explicit-specifier of       |expression in
                   |instantiation of imported   |explicit-specifier of
                   |template                    |instantiation of imported
                   |                            |template

--- Comment #2 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
It actually ICEs whenever the expression is dependent:
https://godbolt.org/z/oqbnanoex.

mod.cpp:
```C++
export module mod;

template<class> constexpr bool b{true};

export template<class N> struct quantity {
  template<class N2>
  explicit(b<N>) operator quantity<N2>() const;
};
```

Reply via email to