https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101239
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>: https://gcc.gnu.org/g:916ec36d0a3ef3fe44c1657746922a5f18b60326 commit r12-6124-g916ec36d0a3ef3fe44c1657746922a5f18b60326 Author: Patrick Palka <ppa...@redhat.com> Date: Mon Dec 27 10:01:42 2021 -0500 c++: Add testcase for SFINAE w/ p[N] and incomplete type [PR101239] The r12-6123 fix for SFINAE with p+N and incomplete type also fixed the analogous issue with p[N]. PR c++/101239 gcc/testsuite/ChangeLog: * g++.dg/template/sfinae32a.C: New test.