rust/tests/crashes/131103.rs
2024-10-09 15:34:45 +02:00

7 lines
126 B
Rust

//@ known-bug: #131103
struct Struct<const N: i128>(pub [u8; N]);
pub fn function(value: Struct<3>) -> u8 {
value.0[0]
}