]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue_4475.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / rustfmt / tests / target / issue_4475.rs
1 fn main() {
2     #[cfg(debug_assertions)]
3     {
4         println!("DEBUG");
5     }
6 }
7
8 fn main() {
9     #[cfg(feature = "foo")]
10     {
11         /*
12         let foo = 0
13         */
14     }
15 }
16
17 fn main() {
18     #[cfg(feature = "foo")]
19     { /* let foo = 0; */ }
20 }
21
22 fn main() {
23     #[foo]
24     #[bar]
25     #[baz]
26     {
27         // let foo = 0;
28     }
29 }