blob: b1aa6ee4634f3aa471b7da2b85c0238a4cc6a2b0 [file]
//@ check-pass
//@compile-flags: -Clink-arg=-nostartfiles
//@ignore-target: windows
#![crate_type = "lib"]
#![no_std]
#![expect(clippy::needless_else, clippy::redundant_pattern_matching)]
use core::panic::PanicInfo;
struct S;
impl Drop for S {
fn drop(&mut self) {}
}
pub fn main(argc: isize, argv: *const *const u8) -> isize {
if let Some(_) = Some(S) {
} else {
}
0
}