2023-05-09 17:17:04 +00:00
|
|
|
//@ run-pass
|
|
|
|
|
2011-11-25 00:17:26 +00:00
|
|
|
// Regression test for a problem with the first mod attribute
|
|
|
|
// being applied to every mod
|
|
|
|
|
2015-03-22 20:13:15 +00:00
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
|
2011-11-25 00:17:26 +00:00
|
|
|
#[cfg(target_os = "linux")]
|
2023-05-09 17:17:04 +00:00
|
|
|
mod hello {}
|
2011-11-25 00:17:26 +00:00
|
|
|
|
|
|
|
#[cfg(target_os = "macos")]
|
2023-05-09 17:17:04 +00:00
|
|
|
mod hello {}
|
2011-11-25 00:17:26 +00:00
|
|
|
|
2014-08-11 04:26:45 +00:00
|
|
|
#[cfg(target_os = "windows")]
|
2023-05-09 17:17:04 +00:00
|
|
|
mod hello {}
|
2011-12-30 08:18:55 +00:00
|
|
|
|
|
|
|
#[cfg(target_os = "freebsd")]
|
2023-05-09 17:17:04 +00:00
|
|
|
mod hello {}
|
2013-04-23 02:31:54 +00:00
|
|
|
|
2014-07-31 00:23:35 +00:00
|
|
|
#[cfg(target_os = "dragonfly")]
|
2023-05-09 17:17:04 +00:00
|
|
|
mod hello {}
|
2014-07-31 00:23:35 +00:00
|
|
|
|
2013-04-23 02:31:54 +00:00
|
|
|
#[cfg(target_os = "android")]
|
2023-05-09 17:17:04 +00:00
|
|
|
mod hello {}
|
2013-04-29 23:16:58 +00:00
|
|
|
|
2023-05-09 17:17:04 +00:00
|
|
|
fn main() {}
|