]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dupe-first-attr.rc
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / dupe-first-attr.rc
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")]
7 mod hello;
8
9 #[cfg(target_os = "macos")]
10 mod hello;
11
12 #[cfg(target_os = "windows")]
13 mod hello;
14
15 #[cfg(target_os = "freebsd")]
16 mod hello;
17
18 #[cfg(target_os = "dragonfly")]
19 mod hello;
20
21 #[cfg(target_os = "android")]
22 mod hello;
23
24 pub fn main() { }