From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C80A3857B93; Wed, 27 Sep 2023 12:05:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C80A3857B93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695816313; bh=T7TME7GaDoDPZ3sIZILhlcNK3hd1KAiXR18m2IXtMXQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sLt2iKtVwS8r/DuwDrLQO66dk56hxBJ3oD50DOQMoLjD3rbJBvSfEW0Hm2JoeEDOs F+iday2lRtgowIR277f9ZAAgcRZf5v0BPFr2k5xlTWzD+Qd3FKtzoroB4sQHImknJ9 kwXMvQy4IEwLQ+QShXyEjSO49uaEn7YcX8byZlq8= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111608] Cannot declare partial specialization after full specialization Date: Wed, 27 Sep 2023 12:05:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111608 --- Comment #2 from Jonathan Wakely --- EDG rejects this too: "spec.cc", line 13: error: this partial specialization would have been used= to instantiate class "X" struct X { ^ 1 error detected in the compilation of "spec.cc".=