]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/inline_cross/auxiliary/macro-vis.rs
Rollup merge of #52019 - michaelwoerister:cross-lto-auto-plugin, r=alexcrichton
[rust.git] / src / test / rustdoc / inline_cross / auxiliary / macro-vis.rs
1 // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #![crate_name = "qwop"]
12
13 /// (writen on a spider's web) Some Macro
14 #[macro_export]
15 macro_rules! some_macro {
16     () => {
17         println!("this is some macro, for sure");
18     };
19 }
20
21 /// Some other macro, to fill space.
22 #[macro_export]
23 macro_rules! other_macro {
24     () => {
25         println!("this is some other macro, whatev");
26     };
27 }
28
29 /// This macro is so cool, it's Super.
30 #[macro_export]
31 macro_rules! super_macro {
32     () => {
33         println!("is it a bird? a plane? no, it's Super Macro!");
34     };
35 }