blob: 80f96e09cfc78dcb7869ee030929606c42b159cd [file] [log] [blame]
//@ compile-flags: -Z unpretty=stable-mir --crate-type lib -C panic=abort -Zmir-opt-level=0
//@ check-pass
//@ only-x86_64
//@ edition: 2024
//@ needs-unwind unwind edges are different with panic=abort
pub fn foo() {
let y = 0;
let x = async || {
let y = y;
};
}