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] Problem with predicate and location labels
- Subject: [Frama-c-discuss] Problem with predicate and location labels
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- Date: Wed, 16 Feb 2011 16:28:08 +0100 (CET)
Consider the predicates below. The last one gives an error message [kernel] user error: no label in the context. (\at or explicit label missing?) in annotation. What is wrong? /*@ predicate equal{L1,L2}(integer k) = \at(k,L1) == \at(k,L2); */ typedef struct { int a; } s_t; /*@ predicate does_work{O, H}(s_t* this, integer k) = equal{O, H}(k); predicate doesnt_work{O, H}(s_t* this, integer k) = equal{O, H}(this->a); */ Regards, Boris
- Follow-Ups:
- [Frama-c-discuss] Problem with predicate and location labels
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Problem with predicate and location labels
- Prev by Date: [Frama-c-discuss] Frama-C Carbon and spec_requires.
- Next by Date: [Frama-c-discuss] Problem with predicate and location labels
- Previous by thread: [Frama-c-discuss] Frama-C Carbon and spec_requires.
- Next by thread: [Frama-c-discuss] Problem with predicate and location labels
- Index(es):