rust/tests/rustdoc/macro-ice-16019.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
205 B
Rust
Raw Normal View History

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