mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +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]
|
|
}
|