mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-27 14:24:08 +00:00
7 lines
126 B
Rust
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]
|
||
|
}
|