rust/tests/rustdoc/doctest/doctest-multi-line-string-literal-25944.rs
2023-11-23 14:56:03 -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() {
}