From b960390548b373bd80b5d9fe590ae3b577e8e8f2 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 24 Jul 2024 16:03:36 +0200 Subject: [PATCH] Crash test for issue 121444 has been fixed --- tests/{crashes/121444.rs => ui/abi/large-byval-align.rs} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename tests/{crashes/121444.rs => ui/abi/large-byval-align.rs} (68%) diff --git a/tests/crashes/121444.rs b/tests/ui/abi/large-byval-align.rs similarity index 68% rename from tests/crashes/121444.rs rename to tests/ui/abi/large-byval-align.rs index a6373a58c42..e39170df72b 100644 --- a/tests/crashes/121444.rs +++ b/tests/ui/abi/large-byval-align.rs @@ -1,11 +1,13 @@ -//@ known-bug: #121444 //@ compile-flags: -Copt-level=0 -//@ edition:2021 //@ only-x86_64 //@ ignore-windows +//@ min-llvm-version: 19 +//@ build-pass + #[repr(align(536870912))] pub struct A(i64); +#[allow(improper_ctypes_definitions)] pub extern "C" fn foo(x: A) {} fn main() {