https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103110
--- Comment #4 from Fedor Chelnokov <fchelnokov at gmail dot com> --- Actually you changed the example, and if T is void, then T{} is ill-formed. But I do not see how it relates to the original program.