6a06907d XL |
1 | // Test that the "system-unwind" ABI is feature-gated, and cannot be used when |
2 | // the `c_unwind` feature gate is not used. |
3 | |
4 | extern "system-unwind" fn f() {} |
5 | //~^ ERROR system-unwind ABI is experimental and subject to change [E0658] |
6 | |
7 | fn main() { |
8 | f(); |
9 | } |