MagentaTreehouse
MagentaTreehouse
Bisects to 91cdd35008e9 @mizvekov .
> The second test case by Richard is still rejected by every implementation except for GCC: https://godbolt.org/z/aerEhjs97 Clang trunk can now compile this code. CC @Endilll
Looks like it's fixed: https://compiler-explorer.com/z/KzzvdcTfv. It also does not trigger assertions on Windows locally.
The original repro is no longer crashing on trunk.
@shafik Assertions were not enabled in the previous link. It still crashes with assertions: https://godbolt.org/z/Wf6K91dE1
See also #57286 about `-Wbraced-scalar-init`.
Reduced: ```c++ class function { public: template function(F&&) {} }; struct effect : function { using function::function; template < typename Fn, typename Fn::type = 0 > effect(Fn &&): function{0} {}...
Previously reported here #53423
This issue can now be closed.
This is no longer crashing in trunk.