]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Add testcase for SFINAE w/ p[N] and incomplete type [PR101239]
authorPatrick Palka <ppalka@redhat.com>
Mon, 27 Dec 2021 15:01:42 +0000 (10:01 -0500)
committerPatrick Palka <ppalka@redhat.com>
Mon, 27 Dec 2021 15:01:42 +0000 (10:01 -0500)
commit916ec36d0a3ef3fe44c1657746922a5f18b60326
treeac70f29d20a40cf5f28ec81242c8e0d6fdefb6e2
parent88cdcb5c18d73bfc9960d774c678f0e8103b8031
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.
gcc/testsuite/g++.dg/template/sfinae32a.C [new file with mode: 0644]