https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104294
--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- I believe the testcase should be valid even without the user-defined deduction guide since we should have synthesized an equivalent guide from the C(T) constructor.