rust/tests/source/issue-5935.rs

9 lines
162 B
Rust
Raw Normal View History

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