☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
execute
/
torture
/
macros1.rs
☽
☼
gcc/testsuite/rust/execute/torture/macros1.rs
code
plain
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
}