1 // compile-flags: -C opt-level=0 -Cpanic=abort
2 // ignore-wasm32-bare compiled with panic=abort by default
6 // We disable optimizations to prevent LLVM from inferring the attribute.
8 // CHECK: Function Attrs:{{.*}}nounwind
11 pub extern "C" fn foo() {}
13 // CHECK: Function Attrs:{{.*}}nounwind