summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doctest/doc-comment-multi-line-attr.rs
blob: 75508f435b3caf2366735a65f3e5ef6853c43323 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Regression test for #97440: Multiline inner attribute triggers ICE during doctest
// compile-flags:--test
// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// check-pass

//! ```rust
//! #![deny(
//! unused_parens,
//! )]
//! ```