rust/tests/rustdoc/doctest/doctest-macro-38219.rs

11 lines
164 B
Rust

// https://github.com/rust-lang/rust/issues/38219
//@ compile-flags:--test
//@ should-fail
/// ```
/// fail
/// ```
#[macro_export]
macro_rules! foo { () => {} }