Skip to content

Commit

Permalink
Fixup to adjust to model-checking#3207
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Jun 7, 2024
1 parent ef9ecda commit 8a04ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/expected/function-contract/diverging_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT
// kani-flags: -Zfunction-contracts

#[kani::ensures(result == 1)]
#[kani::ensures(|result : &i32| *result == 1)]
fn foo() -> i32 {
loop {}
2
Expand Down

0 comments on commit 8a04ad9

Please sign in to comment.