blob: 86cb594f0c62b7a1284ca0a7ee6e28661d516d64 [file]
use core::process;
#[test]
fn const_breakpoint() {
// Ensure this continues in CTFE
const { process::resumable_breakpoint() };
// Miri should also continue, while native runtime will likely abort
if cfg!(miri) {
process::resumable_breakpoint();
}
}