[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/spec/tableau_zones.c (with preprocessing)
/* Generated by Frama-C */
/*@ requires \valid(p);
    ensures *\old(p) ≡ \old(n);
    assigns *p; */
int f(int *p, int n)
{
  int __retres;
  *p = n;
  __retres = 0;
  return __retres;
}

int t[10];
/*@ ensures t[0] ≡ 0; */
int main(void)
{
  int __retres;
  int i;
  i = 0;
  /*@ loop invariant
        0 ≤ i ≤ 5 ∧ (∀ int j; 0 ≤ j < i ⇒ t[j] ≡ 0);
  */
  while (i < 5) {
    f(& t[i],0);
    i ++;
  }
  i = 5;
  /*@ loop invariant
        5 ≤ i ≤ 10 ∧ (∀ int j; 5 ≤ j < i ⇒ t[j] ≡ 1);
      loop assigns t[5 .. 9];
  */
  while (i < 10) {
    f(& t[i],1);
    i ++;
  }
  __retres = 0;
  return __retres;
}


