rust/tests/ui/issues/issue-49854.rs

10 lines
178 B
Rust
Raw Normal View History

// run-pass
2018-06-05 05:50:06 +00:00
use std::ffi::OsString;
fn main() {
let os_str = OsString::from("Hello Rust!");
assert_eq!(os_str, "Hello Rust!");
assert_eq!("Hello Rust!", os_str);
}