Message ID | 20240221131636.3336103-8-arthur.cohen@embecosm.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1029265dyc; Wed, 21 Feb 2024 05:19:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUGOQHAYPOEtO+qWkduRHZQ9AzWINRvJCG1r3O7BGR2HoGH0M7cRqN6AK75gt2S/xrbcmm8in938T+FkEGsQ8QDwifGTA== X-Google-Smtp-Source: AGHT+IGp3lPkfJ3obLoBXtC4/rrDMGZLjkmTP1c1bFwi0IpVke6LcRNOXW/qfNyH9wd6TWpJugLs X-Received: by 2002:a05:6830:1449:b0:6e2:ddb7:6164 with SMTP id w9-20020a056830144900b006e2ddb76164mr17816227otp.14.1708521581241; Wed, 21 Feb 2024 05:19:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708521581; cv=pass; d=google.com; s=arc-20160816; b=U7HKsISMXUqR5gvSxalDY/8Cd8jLc8dLZ4lM2w23xOO0RqSjE0lXDenD2gJ3z5wGf9 iVusenLpLOvi61V2c8MuTJZbuibUGNKvCExs6K1YvVryXMyykhw22+aB7Mf+CdTRfFC1 o8HCknqQBLIBvTKg51HWAesjCghvP8Ob/tr5eSqHcMVZfBU02zZ+aA4/fT701ItIsIqp Fwi4Il0edwpaoOinqKO7gTe4/XqysGbVUVIMH9Cz5c2CLPUHj3xrPNq9OyBijHjVd8hf XvN5I5Nio+MB4p1wOJ4Na/V3hb1DtC4ZbNRBXwrGvUrubh1lvi9gEpQ7KOa4zIjeFZqL aarg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=H3xhgN1TLqEZKfXn6IwVwgNNVd46nJA67cv7wduZ33Q=; fh=6KiXNvQww/MsyVplklPLl//mUuD+DtDm73nSHh4O4+g=; b=lHKMxgKCPE81TjQnTYcg+jL3AsHaX0lLE5KmC1rmSamcNeIJd/UYP+DPCZ9BUZmf1G D8vuijstpi3VdptFLV71a6XxB/zClsl5tnwKygwNaWlPgs/NllUxHUbPMyZh6jiyJJxK 6uuFWtpQJOV0TJSLTUEQNj423Psou8Ae1MASI/tgLXlp+vxfve0rwTZ0VkoJIi/QGRbf fbVRV4IPjZMcdJvuCwJ7l/pAF8adsaa0HfCm7LTt/xWLesykjgrEcUYan54/L3CHtCXz lCviVDDgXa6C08Lt09skt41jv+M17Tev9ltedjYwpy7xIom6CEsJFCrln1ze+UFVshAX fYHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=SFOSWzKm; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id q23-20020ac84517000000b0042c3e04578bsi9828106qtn.688.2024.02.21.05.19.41 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 05:19:41 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=SFOSWzKm; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E4E273858426 for <ouuuleilei@gmail.com>; Wed, 21 Feb 2024 13:19:40 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id 43968385840E for <gcc-patches@gcc.gnu.org>; Wed, 21 Feb 2024 13:16:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 43968385840E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 43968385840E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::632 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708521392; cv=none; b=eJkLXJptC/vTMtayQ72vaOPUSCzxJeC0TOfZc0uQ5V8rI3imyy2nnskubUl+kEy71jZ9i9hmt13Sn5QGOrN2n++J0XGelEQ80K0FAgHjFLMeaeVPSMkAZzTTIc1KNKNR6qXLAtMU2EUG8G0PaS89F71OP9KBDxpFTfRETEcGzyE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708521392; c=relaxed/simple; bh=6IPkRxIk+KmehvBctabNEn8qXJ9AtPBeMk4ACm2Vps0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=YVn0w+027/q4xSxvprBajscsxaAWCAljuTKrMtLgKojKg7oTSbLq4XPRJU75wC/dltqx1Os/1COwPCWGuN/sSFZ3OMDLAuyYI679l/QJk3j62ZjnwMUqNBHkXjrikJ5cvhwrHkLPMKMIl2XgHU+2Fj2iiQvzrJz0TnDZgAQikj0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a28a6cef709so800311466b.1 for <gcc-patches@gcc.gnu.org>; Wed, 21 Feb 2024 05:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1708521386; x=1709126186; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=H3xhgN1TLqEZKfXn6IwVwgNNVd46nJA67cv7wduZ33Q=; b=SFOSWzKmIb4341OYwXVAp+ypkR5/JdXyaiCPTLcdSBwuVb5quss/ZqQ7S/LgMsbE9S KfeJaa3VTdU+vCP8MbsPytT+H7L4pNYTuH9bwTtNQD59zWlvP/+yHcxA8ftdwqtxZEeX eF0DCgVlTdbT1fKbyud3g6Xu1o1sW+lc0f9jc/wEBuj42TprEUlJH/etgwGWtgcS2DPq wXBHd6lAOfDm6GyvzoAQ1yeQ+rCpcGa+hePJoK8cW7fyP6/FLJZlOhmqNqfAINDkZag9 C6VxwDgBibuatWU9RweL5rTVg9YtS1gJ5gNtc5C6V8u315FsJdD0nTobHZ204fE+UJG1 E+Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708521386; x=1709126186; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=H3xhgN1TLqEZKfXn6IwVwgNNVd46nJA67cv7wduZ33Q=; b=OJM5WKeTrZXvvHW3xhDot/aMqTLnIeIe4O0HX3htjHIXm/UPfIgcU7WB5AYz0CI/mk /Si9tBrFGTOWWC9Xfr7Wkx9yWZ8L1PkJN05kOTNmh0m/7ZcC/HGFOphxcKGBGzeq8K9t 7sY0NRBGCnk2b7qpcVwSN+4kP6uvYQ4JyOepi4VnpD53YFJKhX8LudVng5q/hCVoDJ1c U5kv1IAs9x3JE+g0TfiAiyb9uecPmVMwYZz9G2Bf1c52Y/WJQ1otGsEh2kKc54zTWTlF ZpFHCbSuN+04kgiWQKbLwHixgbCLqirPQIrvwrCY0QEB5+F8O6gnZW90a5wNGILWEMZp zOAg== X-Gm-Message-State: AOJu0YwwLKVUDEUsChH3TNXq0kAZMWaFAjWqyCO3PxkoYpAYTT/GR4wY D3MEtJTCqoTRYRAvW4AlE/2+qgkgvU5fJr/DmOoDBuDtUAQD781pWccCVLoNvJA+YRfJXKND/xo = X-Received: by 2002:a17:906:e1b:b0:a3f:2b0a:73f with SMTP id l27-20020a1709060e1b00b00a3f2b0a073fmr1845788eji.50.1708521386318; Wed, 21 Feb 2024 05:16:26 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id m12-20020a170906160c00b00a3d0a094574sm4927074ejd.66.2024.02.21.05.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 05:16:25 -0800 (PST) From: arthur.cohen@embecosm.com To: gcc-patches@gcc.gnu.org Cc: gcc-rust@gcc.gnu.org, Arthur Cohen <arthur.cohen@embecosm.com> Subject: [COMMITTED 5/9] gccrs: Add testcase for #[rustc_const_stable] Date: Wed, 21 Feb 2024 14:15:23 +0100 Message-ID: <20240221131636.3336103-8-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240221131636.3336103-2-arthur.cohen@embecosm.com> References: <20240221131636.3336103-2-arthur.cohen@embecosm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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>, <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>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Reply-To: arthur.cohen@embecosm.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791514725595895982 X-GMAIL-MSGID: 1791514725595895982 |
Series |
[COMMITTED,1/9] gccrs: Fix typo in RegionConstraints instance
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Arthur Cohen
Feb. 21, 2024, 1:15 p.m. UTC
From: Arthur Cohen <arthur.cohen@embecosm.com>
To ensure we don't introduce regressions back to issue #2314
gcc/testsuite/ChangeLog:
* rust/compile/rustc_const_stable.rs: New test.
---
gcc/testsuite/rust/compile/rustc_const_stable.rs | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 gcc/testsuite/rust/compile/rustc_const_stable.rs
diff --git a/gcc/testsuite/rust/compile/rustc_const_stable.rs b/gcc/testsuite/rust/compile/rustc_const_stable.rs new file mode 100644 index 00000000000..9208b1ab3b6 --- /dev/null +++ b/gcc/testsuite/rust/compile/rustc_const_stable.rs @@ -0,0 +1,2 @@ +#[rustc_const_stable(feature = "const_ascii_ctype_on_intrinsics", since = "1.47.0")] +pub fn foo() {} // { dg-error "macro not found" "" { target *-*-* } .-1 }