We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
breakpoint
1 parent 212c5da commit 9416fdaCopy full SHA for 9416fda
tests/expected/intrinsics/breakpoint/expected
@@ -0,0 +1,2 @@
1
+SUCCESS\
2
+assertion failed: true
tests/expected/intrinsics/breakpoint/main.rs
@@ -0,0 +1,12 @@
+// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0 OR MIT
3
+
4
+// Check that `breakpoint` is supported (generates a `SKIP` statement)
5
+// and that the assertion after `breakpoint` continues to be reachable
6
+#![feature(core_intrinsics)]
7
8
+#[kani::proof]
9
+fn main() {
10
+ unsafe { std::intrinsics::breakpoint() };
11
+ assert!(true);
12
+}
0 commit comments