2022-05-26 23:13:37 +01:00
|
|
|
// Regression test for #97440: Multiline inner attribute triggers ICE during doctest
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ compile-flags:--test
|
|
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
2024-06-21 15:15:36 +10:00
|
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ check-pass
|
2022-05-26 22:55:29 +01:00
|
|
|
|
|
|
|
//! ```rust
|
|
|
|
//! #![deny(
|
|
|
|
//! unused_parens,
|
|
|
|
//! )]
|
|
|
|
//! ```
|