rust/tests/ui/dupe-first-attr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
416 B
Rust
Raw Normal View History

//@ 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 {}
2011-12-30 16:18:55 +08:00
#[cfg(target_os = "freebsd")]
mod hello {}
2013-04-23 10:31:54 +08:00
2014-07-31 08:23:35 +08:00
#[cfg(target_os = "dragonfly")]
mod hello {}
2014-07-31 08:23:35 +08:00
2013-04-23 10:31:54 +08:00
#[cfg(target_os = "android")]
mod hello {}
fn main() {}