[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/spec/regions.c (with preprocessing)
/* Generated by Frama-C */
struct S {
   int t1[2] ;
   int t2[2] ;
};
/*@ requires \valid(p);
    ensures *\old(p) ≡ \old(n); */
void g(int *p, int n)
{
  *p = n;
  return;
}

/*@ requires \valid(x) ∧ \valid(y);
    ensures *\old(x) ≡ 1 ∧ *\old(y) ≡ 2;
 */
void f(int *x, int *y)
{
  g(x,1);
  g(y,2);
  return;
}

/*@ ensures
      (\let tmp = \old(s.t1); tmp[0]) ≡ 1 ∧
      (\let tmp = \old(s.t2); tmp[0]) ≡ 2 ∧
      (\let tmp = \old(s.t1); tmp[1]) ≡ 2 ∧
      (\let tmp = \old(s.t2); tmp[1]) ≡ 1;
 */
void main(struct S s)
{
  f(& s.t1[0],& s.t2[1]);
  f(& s.t2[0],& s.t1[1]);
  f(& s.t1[0],& s.t1[0]);
  return;
}


