https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983
Artur Bać <gcc at ebasoft dot com.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at ebasoft dot com.pl --- Comment #4 from Artur Bać <gcc at ebasoft dot com.pl> --- trunk at compiler explorer still rejects valid code https://godbolt.org/z/v4ebhj9Gh, only the message of requirement of namespace scope is missing from gcc 11.2, invalid use of template-name without an argument list https://godbolt.org/z/7Wev6saWz "ctad" must be declared at namespace scope + invalid use of template-name without an argument list clang https://godbolt.org/z/vavPTbf36 works as expected