Debian Codegraph @

gcc/testsuite/rust/execute/torture/macros5.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)
9 }
10
11 fn main() -> i32 {
12 test() - 3
13 }