https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122381
Nathaniel Shead <nshead at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-reduction |ice-on-valid-code
--- Comment #4 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
Reduced:
// a.cpp
export module M;
export template <typename T> struct color_ref {
operator int() const { return 0; }
int foo(color_ref x) {
return x.operator int();
}
};
// b.cpp
import M;
template struct color_ref<int>;