aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/execute/torture/macros25.rs
blob: c2658721bdfc2e83e69984c19eb8a8ac18bb7f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
macro_rules! t {
    ($t:tt) => {
        $t
    };
}

fn frob() -> i32 {
    t!(15) + t!((14))
}

fn main() -> i32 {
    frob() - 29
}