mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
10 lines
190 B
Rust
10 lines
190 B
Rust
// run-fail
|
|
// check-run-results
|
|
// compile-flags: -Copt-level=0 -Zlocation-detail=line,column
|
|
// exec-env:RUST_BACKTRACE=0
|
|
|
|
fn main() {
|
|
let opt: Option<u32> = None;
|
|
opt.unwrap();
|
|
}
|