Skip to content

no multiple assert-clauses accepted in /*@...*/-style comment

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


Id Project Category View Due Date Updated
ID0000601 Frama-C Kernel > ACSL implementation public 2010-10-12 2010-12-16
Reporter Jochen Assigned To virgile Resolution open
Priority normal Severity feature Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Boron-20100401 Target Version - Fixed in Version -

Description :

See attached program: when #define multipleAsserts is in force, the kernel complains about line 11-12, containing two assert-clauses in a single /@.../ comment.

I'm not sure this contradicts some ASCL-syntax definition.

However, it appears strange to me, since multiple requires, ensures, and loop invariant are admitted (although they could be joined into a single one by &&, as for assert, too).

Attachments

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