summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3253/lib.rs
blob: 3eef586bd6792bf3bf1466b3d6cd5a746bbda143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[macro_use]
extern crate cfg_if;

cfg_if! {
    if #[cfg(target_family = "unix")] {
        mod foo;
        #[path = "paths/bar_foo.rs"]
        mod bar_foo;
    } else {
        mod bar;
        #[path = "paths/foo_bar.rs"]
        mod foo_bar;
    }
}