0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-25 04:06:55 +01:00
rust/tests/rustdoc/macro-ice-16019.rs
2023-09-27 17:22:18 -07:00

12 lines
205 B
Rust

// https://github.com/rust-lang/rust/issues/16019
macro_rules! define_struct {
($rounds:expr) => (
struct Struct {
sk: [u32; $rounds + 1]
}
)
}
define_struct!(2);