https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98802
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:787f3ebf00d4e1f741ea03b6ddea9cf07a6f94ac commit r11-7096-g787f3ebf00d4e1f741ea03b6ddea9cf07a6f94ac Author: Jason Merrill <ja...@redhat.com> Date: Wed Feb 3 21:56:59 2021 -0500 c++: No aggregate CTAD with explicit dguide [PR98802] In my implementation of P2082R1 I missed this piece: the aggregate deduction candidate is not generated if the class has user-written deduction guides. gcc/cp/ChangeLog: PR c++/98802 * pt.c (do_class_deduction): No aggregate guide if any_dguides_p. gcc/testsuite/ChangeLog: PR c++/98802 * g++.dg/cpp1z/class-deduction78.C: New test.