Message ID | 20240221131636.3336103-8-arthur.cohen@embecosm.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256 header.s=google header.b=SFOSWzKm; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tfxgg4NnCz23d2 for <incoming@patchwork.ozlabs.org>; Thu, 22 Feb 2024 00:19:11 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8A46538582A8 for <incoming@patchwork.ozlabs.org>; Wed, 21 Feb 2024 13:19:09 +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-Google-Smtp-Source: AGHT+IFefRDe4td5bg8wO2JmzR1ULiqsLICm3UN49t+fa+u8a/yoaTWGt3hqTwpLd0a3Y6y9vSJjag== 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+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[COMMITTED,1/9] gccrs: Fix typo in RegionConstraints instance
|
expand
|
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 }
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