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

11 lines
164 B
Rust
Raw Normal View History

2023-11-20 12:50:25 -06:00
// https://github.com/rust-lang/rust/issues/38219
//@ compile-flags:--test
//@ should-fail
/// ```
/// fail
/// ```
#[macro_export]
macro_rules! foo { () => {} }