summaryrefslogtreecommitdiffstats
path: root/tests/assembly/panic-unwind-no-uwtable.rs
blob: 8eed72b2fca6963310ed25a09d937af02e6571e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// assembly-output: emit-asm
// only-x86_64-unknown-linux-gnu
// compile-flags: -C panic=unwind -C force-unwind-tables=n

#![crate_type = "lib"]

// CHECK-LABEL: foo:
// CHECK: .cfi_startproc
#[no_mangle]
fn foo() {
    panic!();
}