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