Remove FIXME in tests/compile-fail/panic/bad_unwind.rs

This commit is contained in:
hyd-dev 2021-06-03 13:39:33 +08:00
parent a952787163
commit e4e6c25f67
No known key found for this signature in database
GPG Key ID: 74FA7FD5B8DA14B8

View File

@ -4,8 +4,6 @@
//! Unwinding when the caller ABI is "C" (without "-unwind") is UB.
//! Currently we detect the ABI mismatch; we could probably allow such calls in principle one day
//! but then we have to detect the unexpected unwinding.
//! FIXME: `-Zmiri-disable-abi-check` does not work for this test because function pointers are
//! always allowed to unwind.
extern "C-unwind" fn unwind() {
panic!();