repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: fix NULL without MOLD argument to scalar DT pointer dummy [PR118179]
[official-gcc.git]
/
gcc
/
testsuite
/
rust
/
execute
/
torture
/
macros19.rs
blob
4732545410eebdc651c8727c4c904061fc3b64b9
1
macro_rules! add {
2
($e:expr, $($es:expr),*) => {
3
$e + add!($($es),*)
4
};
5
($e:expr) => {
6
$e
7
};
8
}
9
10
fn main() -> i32 {
11
let a = add!(15, 2, 9); // 26
12
13
a - 26
14
}