2024-04-30 15:40:19 -05:00
|
|
|
//@ check-pass
|
|
|
|
//@ compile-flags:--test --test-args --test-threads=1 --nocapture -Zunstable-options
|
|
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
|
|
|
//@ normalize-stderr-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
2024-06-21 00:15:36 -05:00
|
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2024-04-30 15:40:19 -05:00
|
|
|
|
|
|
|
//! ```
|
|
|
|
//! #[macro_export]
|
|
|
|
//! macro_rules! a_macro { () => {} }
|
|
|
|
//! ```
|