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.
|Product Version||Frama-C Nitrogen-20111001||Target Version||-||Fixed in Version||Frama-C Oxygen-20120901|
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).