rust/tests/target/attrib-extern-crate.rs

18 lines
232 B
Rust
Raw Normal View History

2015-04-28 22:00:58 -05:00
// Attributes on extern crate.
#[Attr1]
extern crate Bar;
#[Attr2]
#[Attr2]
extern crate Baz;
2017-08-08 10:16:35 -05:00
extern crate Foo;
2015-04-28 22:00:58 -05:00
fn foo() {
#[Attr1]
extern crate Bar;
#[Attr2]
#[Attr2]
extern crate Baz;
2017-08-08 10:16:35 -05:00
extern crate Foo;
2015-04-28 22:00:58 -05:00
}