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] Unable to prove the example code in ACSL documentation



On Fri, Oct 24, 2014 at 5:13 PM, Khairul Azhar Kasmiran <kazarmy at gmail.com>
wrote:

>
>
>> I have tried this too and it works.
>>
>>
> Would you mind sharing the working code?
>
>
>
> --
> Khairul
>
>
Here is the code:

int x;

//@ logic int *l_x = &x;
//@ assigns x;
int g();

//@ assigns *l_x;
int f(int x) {
    return g();
}

Note that this entire piece of code is in the same source file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20141030/fd9b2228/attachment.html>