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