get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2194265/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2194265,
    "url": "http://patchwork.ozlabs.org/api/patches/2194265/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260207223145.591709-1-polacek@redhat.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260207223145.591709-1-polacek@redhat.com>",
    "list_archive_url": null,
    "date": "2026-02-07T22:31:45",
    "name": "[pushed] c++/reflection: add fixed test [PR123616]",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8c211a02ab66e0935753aedaff8afed5f920f413",
    "submitter": {
        "id": 14370,
        "url": "http://patchwork.ozlabs.org/api/people/14370/?format=api",
        "name": "Marek Polacek",
        "email": "polacek@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260207223145.591709-1-polacek@redhat.com/mbox/",
    "series": [
        {
            "id": 491401,
            "url": "http://patchwork.ozlabs.org/api/series/491401/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491401",
            "date": "2026-02-07T22:31:45",
            "name": "[pushed] c++/reflection: add fixed test [PR123616]",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491401/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194265/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194265/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=SOo3s9GH;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=SOo3s9GH",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.129.124"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f7m145s5tz1xvW\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 08 Feb 2026 09:32:24 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6FA9448F36BE\n\tfor <incoming@patchwork.ozlabs.org>; Sat,  7 Feb 2026 22:32:22 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id D363B48F3CD7\n for <gcc-patches@gcc.gnu.org>; Sat,  7 Feb 2026 22:31:54 +0000 (GMT)",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-513-Vr5Z8vDrOfuSYRItG3AJXQ-1; Sat,\n 07 Feb 2026 17:31:52 -0500",
            "from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 0FC1418003F6\n for <gcc-patches@gcc.gnu.org>; Sat,  7 Feb 2026 22:31:52 +0000 (UTC)",
            "from pdp-11.lan (unknown [10.22.88.66])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 9DABD30001A8\n for <gcc-patches@gcc.gnu.org>; Sat,  7 Feb 2026 22:31:51 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 6FA9448F36BE",
            "OpenDKIM Filter v2.11.0 sourceware.org D363B48F3CD7"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org D363B48F3CD7",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org D363B48F3CD7",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770503514; cv=none;\n b=hKzx0j7K0xVCpM4dtcZv28TcT+evz55QK2mL7aVHYL/pXtiBbEyupLttlGFDHxIKbtw6OAvF27h8+SHSBsuJAKMatEOr190i+ni2vMzk3euuYlV0dP+oAG3lCPSpFSGidTDiycKh84RlCKcfWsdhq8+QzuZSANtgMcc56LwF5z4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770503514; c=relaxed/simple;\n bh=t1Wkxez6nxV67v4fSBuMBiZg3VrDy1TWA8Xl7mXOL9g=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=WX3mGaC9nuZE8RFiedlH2wV72rrmMruVA7pgdZr17ENYDwGPLURWKl9OVRIj89fbQ2zhatZDzQU++2/x99gAucScj7kpOs/6XhAmb8WRZK+KfWluXPosKccpj8wYPxVQ4sSGLPxd7x1vIQFJHXzWbThVrGd5LdbRY4Oxn0hSVKo=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1770503514;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=BQztiH0+JIOJq6XIWjTyX5VjnSG0oFXIAmIoRM2u/TE=;\n b=SOo3s9GHHX0gAzd+u+Hptny5xCT4HIgn1psUkx9zoUSvEZg3cc+tMLSTji3oWnIph9refx\n hX9ONM2t90392yLW7rQvYR4Pu53BSPNIIcSK+KyAA26VgpglduyjamV16oW9SdwDiY52yK\n PPZ+kEAye+K5bX5aeVxQFmk5jRMnjjo=",
        "X-MC-Unique": "Vr5Z8vDrOfuSYRItG3AJXQ-1",
        "X-Mimecast-MFC-AGG-ID": "Vr5Z8vDrOfuSYRItG3AJXQ_1770503512",
        "From": "Marek Polacek <polacek@redhat.com>",
        "To": "GCC Patches <gcc-patches@gcc.gnu.org>",
        "Subject": "[pushed] c++/reflection: add fixed test [PR123616]",
        "Date": "Sat,  7 Feb 2026 17:31:45 -0500",
        "Message-ID": "<20260207223145.591709-1-polacek@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.4",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "donfffAunDqsARqT2VU9QGsixzFOrgfIvEObE1HVJ5Y_1770503512",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Tested x86_64-pc-linux-gnu, applying to trunk.\n\n-- >8 --\nThis was fixed by r16-7330-g507ea25cf2e18b.\n\n\tPR c++/123616\n\ngcc/testsuite/ChangeLog:\n\n\t* g++.dg/reflect/type_of3.C: New test.\n---\n gcc/testsuite/g++.dg/reflect/type_of3.C | 13 +++++++++++++\n 1 file changed, 13 insertions(+)\n create mode 100644 gcc/testsuite/g++.dg/reflect/type_of3.C\n\n\nbase-commit: 1a3f27ab4d3f0d4549b0e1724d5297dc2d393a77",
    "diff": "diff --git a/gcc/testsuite/g++.dg/reflect/type_of3.C b/gcc/testsuite/g++.dg/reflect/type_of3.C\nnew file mode 100644\nindex 00000000000..ba28c4f5980\n--- /dev/null\n+++ b/gcc/testsuite/g++.dg/reflect/type_of3.C\n@@ -0,0 +1,13 @@\n+// PR c++/123616\n+// { dg-do compile { target c++26 } }\n+// { dg-additional-options \"-freflection\" }\n+\n+#include <meta>\n+using namespace std::meta;\n+\n+struct S {\n+    auto g() { return 0; }\n+};\n+int h() { return 0; }\n+\n+static_assert(type_of(^^S::g) == type_of(^^h));\n",
    "prefixes": [
        "pushed"
    ]
}