fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
394 B24 linesraw
1// Regression test for a problem with the first mod attribute
2// being applied to every mod
3
4// pretty-expanded FIXME #23616
5
6#[cfg(target_os = "linux")]
7mod hello;
8
9#[cfg(target_os = "macos")]
10mod hello;
11
12#[cfg(target_os = "windows")]
13mod hello;
14
15#[cfg(target_os = "freebsd")]
16mod hello;
17
18#[cfg(target_os = "dragonfly")]
19mod hello;
20
21#[cfg(target_os = "android")]
22mod hello;
23
24pub fn main() { }