mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +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();
|
|
}
|