summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4152.rs
blob: 80f9ff5e30437971f96a4bbb305af0f994eec689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// rustfmt-hard_tabs: true

macro_rules! bit {
	($bool:expr) => {
		if $bool {
			1;
			1
		} else {
			0;
			0
		}
	};
}
macro_rules! add_one {
	($vec:expr) => {{
		$vec.push(1);
	}};
}