https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115888
--- Comment #2 from Jason Liam <jlame646 at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2688 This is not CWG2688. Note that in the given example here, gcc and clang rejects `decltype(C::f)`. That is, the issue is with `decltype(C::f)` not the function call itself. So , this has nothing to do with CWG2688 and is a separate issue.