From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2A6143858D1E; Wed, 29 Mar 2023 18:55:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A6143858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680116111; bh=vy2N1q3o2AMv59iU6GwbutYqtu911Iwau2MmEnKCbtw=; h=From:To:Subject:Date:From; b=vUPiOpMoMB4m7FBbxaoQwKZqY4/t1b0GUR99entmWd4CuFpC4BxIVE/XxA4hGqVEE l40ayeMc99M39hbuzgyqLZDpa02h7hI6OI5i4a86xoBT5zbBua03PKIqaJ1JhVBm/2 0JojDT491VFqMw4aM4h6Q0hTwPILgH/CWHxY9vMQ= From: "cjdb.ns at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109337] New: c++2a test concepts4.C passes when it should fail Date: Wed, 29 Mar 2023 18:55:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cjdb.ns at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D109337 Bug ID: 109337 Summary: c++2a test concepts4.C passes when it should fail Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cjdb.ns at gmail dot com Target Milestone: --- Clang and GCC disagree on the validity of concepts4.C. I think Clang is cor= rect here, because forming a reference to `void` should be ill-formed. https://godbolt.org/z/es5GxYhzd=