mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
13 lines
207 B
Rust
13 lines
207 B
Rust
macro_rules! foo {
|
|
($a:ident, $b:ident, $c:ident) => {
|
|
struct a { value: $a };
|
|
struct b { value: $b };
|
|
};
|
|
($a:ident) => {
|
|
struct a { value: $a };
|
|
};
|
|
}
|
|
|
|
foo! {
|
|
A
|
|
}
|