Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
unwind-abis
/
feature-gate-c-unwind.rs
blob: f02a368d4e0973cfe8debef5f784d8fd96ee900b [
file
] [
log
] [
blame
]
// Test that the "C-unwind" ABI is feature-gated, and cannot be used when the
// `c_unwind` feature gate is not used.
extern
"C-unwind"
fn
f
()
{}
//~^ ERROR C-unwind ABI is experimental and subject to change [E0658]
fn
main
()
{
f
();
}