Skip to content

axiom outside axiomatic tacitly ignored in presence of struct

ID0001116: This issue was created automatically from Mantis Issue 1116. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0001116 Frama-C Kernel public 2012-03-12 2014-02-12
Reporter Jochen Assigned To virgile Resolution fixed
Priority normal Severity trivial Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Nitrogen-20111001 Target Version - Fixed in Version Frama-C Oxygen-20120901

Description :

Running frama-c -wp on the attached program doesn't produce a syntax error message, although using "axiom" outside "axiomatic" is incorrect.

However, the axiom is not given to the provers: alt-ergo can't verify the program, but it will verify it if "axiom" is changed to "lemma" (in that case, the lemma is given to alt-ergo).

If the struct in line 6-8 is removed, a syntax error is reported as expected (however at EOF position, which seems too late).

Attachments

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information