Skip to content

Commit

Permalink
Minor fix in test
Browse files Browse the repository at this point in the history
  • Loading branch information
adpaco-aws committed Apr 21, 2022
1 parent 0534d73 commit d036af4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/kani/Intrinsics/PtrGuaranteedCmp/ne_fail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT
// kani-verify-fail

// Checks that `ptr_guaranteed_ne` returns false when the pointers are
// equal, which causes the test to pass in the `else` branch. The `if`
// branch is unreachable.
// Checks that `ptr_guaranteed_ne` returns a nondet. value false when the
// pointers are different, which causes the test to fail in the `else` branch.
#![feature(core_intrinsics)]
use std::intrinsics::ptr_guaranteed_ne;

Expand Down

0 comments on commit d036af4

Please sign in to comment.