https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107211
--- Comment #5 from Halalaluyafail3 <luigighiron at gmail dot com> --- This also applies to non member functions, for example: void f(int),f(float); noexcept(f); using T=int; noexcept(0 .~T); Are both accepted and are similarly invalid.