https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60420
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> --- ... unless the "or of a template type argument" part applies (but clang accepts both the original testcase and my Comment #1?!?)