rust/tests/rustdoc/doctest-multi-line-string-literal-25944.rs
2023-10-04 13:04:45 -07:00

15 lines
222 B
Rust

// compile-flags:--test
// https://github.com/rust-lang/rust/issues/25944
#![crate_name="issue_25944"]
/// ```
/// let a = r#"
/// foo
/// bar"#;
/// let b = "\nfoo\nbar";
/// assert_eq!(a, b);
/// ```
pub fn main() {
}