Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] Does WP support declare ghost variables of logic types ?
- Subject: [Frama-c-discuss] Does WP support declare ghost variables of logic types ?
- From: ziqing at udel.edu (Ziqing Luo)
- Date: Tue, 31 Oct 2017 11:59:03 -0400
Dear Frama-C people, I was trying to declare some ghost variables of logic types, for example int main() { //@ ghost integer a = 0; //@ assert a >= 0; } Then I ran it with command "frame-c -wp test.c", it told me that there is a syntax error at line 2 where is the ghost variable declaration. If I change integer to int, there is no problem. So I was wandering if WP supports declaring logic type ghost variables ? In addition, if WP supports that, does it support declare ghost variables of user-defined logic types ? Thank you, Ziqing Luo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20171031/7e5a1cab/attachment.html>
- Follow-Ups:
- [Frama-c-discuss] Does WP support declare ghost variables of logic types ?
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] Does WP support declare ghost variables of logic types ?
- Prev by Date: [Frama-c-discuss] WP drivers and Why3
- Next by Date: [Frama-c-discuss] Does WP support declare ghost variables of logic types ?
- Previous by thread: [Frama-c-discuss] Express the cardinality of a set ?
- Next by thread: [Frama-c-discuss] Does WP support declare ghost variables of logic types ?
- Index(es):