]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-4152.rs
Auto merge of #84876 - alexcrichton:inline-thread-locals-cross-crate, r=Mark-Simulacrum
[rust.git] / src / tools / rustfmt / tests / target / issue-4152.rs
1 // rustfmt-hard_tabs: true
2
3 macro_rules! bit {
4         ($bool:expr) => {
5                 if $bool {
6                         1;
7                         1
8                 } else {
9                         0;
10                         0
11                 }
12         };
13 }
14 macro_rules! add_one {
15         ($vec:expr) => {{
16                 $vec.push(1);
17         }};
18 }