mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
10 lines
256 B
Rust
10 lines
256 B
Rust
// Test that the "system-unwind" ABI is feature-gated, and cannot be used when
|
|
// the `c_unwind` feature gate is not used.
|
|
|
|
extern "system-unwind" fn f() {}
|
|
//~^ ERROR system-unwind ABI is experimental and subject to change [E0658]
|
|
|
|
fn main() {
|
|
f();
|
|
}
|