Skip to content

Commit 56335dc

Browse files
Make specification/loops.rs pass
1 parent f9f8177 commit 56335dc

File tree

1 file changed

+1
-0
lines changed
  • tests/should_succeed/specification

1 file changed

+1
-0
lines changed

tests/should_succeed/specification/loops.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
extern crate creusot_contracts;
22
use creusot_contracts::*;
33

4+
#[requires(!x)]
45
pub fn while_loop_variant(x: bool) {
56
#[variant(0)]
67
while x {}

0 commit comments

Comments
 (0)