Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
b0d6a40b
Commit
b0d6a40b
authored
3 years ago
by
Basile Desloges
Browse files
Options
Downloads
Patches
Plain Diff
[eacsl] Add test for issue e-acsl#166
parent
e762f5a6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/e-acsl/tests/bts/issue-eacsl-166.i
+23
-0
23 additions, 0 deletions
src/plugins/e-acsl/tests/bts/issue-eacsl-166.i
src/plugins/e-acsl/tests/bts/oracle/issue-eacsl-166.res.oracle
+6
-0
6 additions, 0 deletions
...lugins/e-acsl/tests/bts/oracle/issue-eacsl-166.res.oracle
with
29 additions
and
0 deletions
src/plugins/e-acsl/tests/bts/issue-eacsl-166.i
0 → 100644
+
23
−
0
View file @
b0d6a40b
/* run.config
COMMENT: Change order of options to run Eva before E-ACSL so that the ensures
COMMENT: clause is proven invalid before running E-ACSL. Eva will prove the
COMMENT: ensures invalid under hypotheses of reachability, this test shows
COMMENT: that when we duplicate the invalid property statuses, we remove the
COMMENT: hypotheses to satisfy kernel invariants.
OPT: @GLOBAL@ @EVA@ -then @EACSL@ -then-last @EVENTUALLY@
*/
/* run.config_dev
COMMENT: No need to compile and execute the test since we know the property
COMMENT: will be invalid.
DONTRUN:
*/
/*@ ensures \result == 1; */
int
f
()
{
return 0;
}
int
main
()
{
f();
return 0;
}
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/tests/bts/oracle/issue-eacsl-166.res.oracle
0 → 100644
+
6
−
0
View file @
b0d6a40b
[eva:alarm] tests/bts/issue-eacsl-166.i:15: Warning:
function f: postcondition got status invalid.
[e-acsl] beginning translation.
[e-acsl] translation done in project "e-acsl".
[eva:alarm] tests/bts/issue-eacsl-166.i:15: Warning:
function __e_acsl_assert, behavior blocking: precondition got status invalid.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment