Skip to content

Commit

Permalink
miri: Adapt for breakpoint becoming safe
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtriplett committed Dec 3, 2024
1 parent a77b720 commit a5c107b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tools/miri/tests/fail/breakpoint.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#![feature(core_intrinsics)]

fn main() {
unsafe {
core::intrinsics::breakpoint() //~ ERROR: trace/breakpoint trap
};
core::intrinsics::breakpoint(); //~ ERROR: trace/breakpoint trap
}

0 comments on commit a5c107b

Please sign in to comment.