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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
That revision also changes mangling of fn from
decltype (unsigned short{2u}+((int)(3))) fn<int>()
to
decltype ((2u)+((int)(3))) fn<int>()

template<typename T>
auto fn () -> decltype(unsigned{2u} + (T)3) { return 42; }

template auto fn<int>() -> decltype(unsigned{2u} + (int)3);

Reply via email to