]> git.lizzy.rs Git - rust.git/blob - tests/target/attrib-extern-crate.rs
implement framework for system tests
[rust.git] / tests / target / attrib-extern-crate.rs
1 // Attributes on extern crate.
2
3 extern crate Foo;
4 #[Attr1]
5 extern crate Bar;
6 #[Attr2]
7 #[Attr2]
8 extern crate Baz;
9
10 fn foo() {
11     extern crate Foo;
12     #[Attr1]
13     extern crate Bar;
14     #[Attr2]
15     #[Attr2]
16     extern crate Baz;
17 }