]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/attrib-extern-crate.rs
Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup
[rust.git] / src / tools / rustfmt / tests / target / attrib-extern-crate.rs
1 // Attributes on extern crate.
2
3 #[Attr1]
4 extern crate Bar;
5 #[Attr2]
6 #[Attr2]
7 extern crate Baz;
8 extern crate Foo;
9
10 fn foo() {
11     #[Attr1]
12     extern crate Bar;
13     #[Attr2]
14     #[Attr2]
15     extern crate Baz;
16     extern crate Foo;
17 }