Skip to content

Commit

Permalink
Crash test for issue 121444 has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jul 30, 2024
1 parent 00bfd70 commit b960390
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/crashes/121444.rs → tests/ui/abi/large-byval-align.rs
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit b960390

Please sign in to comment.