rust/tests/rustdoc-ui/doc-comment-multi-line-attr.rs
2023-01-11 09:32:08 +00:00

12 lines
315 B
Rust

// Regression test for #97440: Multiline inner attribute triggers ICE during doctest
// compile-flags:--test
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// check-pass
//! ```rust
//! #![deny(
//! unused_parens,
//! )]
//! ```