summaryrefslogtreecommitdiffstats
path: root/tests/ui/dupe-first-attr.rs
blob: d950743b41c0d9b52063f449768884b2ddd8e669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// run-pass

// Regression test for a problem with the first mod attribute
// being applied to every mod

// pretty-expanded FIXME #23616

#[cfg(target_os = "linux")]
mod hello {}

#[cfg(target_os = "macos")]
mod hello {}

#[cfg(target_os = "windows")]
mod hello {}

#[cfg(target_os = "freebsd")]
mod hello {}

#[cfg(target_os = "dragonfly")]
mod hello {}

#[cfg(target_os = "android")]
mod hello {}

fn main() {}