rust/tests/source/issue-5935.rs
2023-10-08 19:55:04 -04:00

9 lines
162 B
Rust

struct Regs<
const BEGIN: u64,
const END: u64,
const DIM: usize,
const N: usize = { (END - BEGIN) as usize / (8 * DIM) + 1 },
>
{
_foo: u64,
}