mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
10 lines
194 B
Rust
10 lines
194 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();
|
|
}
|