blob: 2ba9176ae88c28759d7417659988c8c5ce48cb68 [file] [log] [blame] [edit]
//@ compile-flags:--test
// https://github.com/rust-lang/rust/issues/23744
#![crate_name="issue_23744"]
/// Example of rustdoc incorrectly parsing <code>```rust,should_panic</code>.
///
/// ```should_panic
/// fn main() { panic!("fee"); }
/// ```
///
/// ```rust,should_panic
/// fn main() { panic!("fum"); }
/// ```
pub fn foo() {}