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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
179 B
Rust
Raw Normal View History

//@ run-pass
2018-06-05 00:50:06 -05: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);
}