rust/src/test/ui/no-std-2.rs
2019-07-27 18:56:16 +03:00

11 lines
121 B
Rust

// run-pass
#![no_std]
extern crate std;
fn main() {
let a = core::option::Option::Some("foo");
a.unwrap();
}