mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
12 lines
205 B
Rust
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);
|