From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 510393858C20; Sat, 1 Oct 2022 17:24:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 510393858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664645078; bh=ifGMp2wm0KP+j77p+yqcAVhto285zGSe5iSBbGezALE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aabrp0lO9fLDsEWnDH7zdeuGHpyM2Or2w68RPobEcXu0gwUdju6sHjV75woWJDA8h xosqaRVoSNXv9OSBzPkGOlpRID+8QC34n/QoKkVnFsUTo+wVLRNfBZqPRQBuNEVItF ywF1Ks9BzfNOhmcHrHk+Q2bmZiQ7A/f7gJY2C+lE= From: "jlame646 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107111] GCC accepts invalid program involving function declaration with pack expansion Date: Sat, 01 Oct 2022 17:24:38 +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: 12.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jlame646 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: 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=3D107111 --- Comment #2 from Jason Liam --- Also gcc rejects `V...()` but clang accepts that. Demo: https://godbolt.org/z/bfx9rv6hP=