Debian Codegraph @

gcc/testsuite/rust/execute/torture/macros1.rs

raw
1 macro_rules! add {
2 ($a:expr,$b:expr) => {
3 $a + $b
4 };
5 }
6
7 fn test() -> i32 {
8 add!(1 + 2, 3)
9 }
10
11 fn main() -> i32 {
12 test() - 6
13 }