Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudgolfouse committed Nov 28, 2024
1 parent e876fe6 commit 118c7eb
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 0 deletions.
86 changes: 86 additions & 0 deletions creusot/tests/should_succeed/syntax/int_suffix.coma

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions creusot/tests/should_succeed/syntax/int_suffix.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extern crate creusot_contracts;
use creusot_contracts::*;

#[ensures(*result == 1int)]
pub fn foo() -> GhostBox<Int> {
ghost!(1int)
}
14 changes: 14 additions & 0 deletions creusot/tests/should_succeed/syntax/int_suffix/why3session.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

0 comments on commit 118c7eb

Please sign in to comment.