[kernel] Parsing assigns_const.i (no preprocessing) [kernel:annot-error] assigns_const.i:7: Warning: not an assignable left value: c. Ignoring specification of function refuse_const [kernel:annot-error] assigns_const.i:12: Warning: not an assignable left value: a[0]. Ignoring specification of function refuse_const_array [kernel:annot-error] assigns_const.i:15: Warning: not an assignable left value: {i, c}. Ignoring specification of function refuse_const_in_set [kernel:annot-error] assigns_const.i:22: Warning: not an assignable left value: y.a[4].f. Ignoring specification of function refuse_const_field [kernel:annot-error] assigns_const.i:25: Warning: not an assignable left value: ptr->a[4].f. Ignoring specification of function refuse_field_via_pointer [kernel:annot-error] assigns_const.i:52: Warning: not an assignable left value: t.z.y. Ignoring logic specification of function refuse_const_path /* Generated by Frama-C */ struct X { int const f ; }; struct Y { struct X a[10] ; }; struct Z { int const x ; int y ; }; struct T { struct Z const z ; }; int i; int const c; /*@ assigns i; */ void accept_non_const(void); int const a[2]; struct Y y; /*@ assigns *ptr; */ void accept_const_via_pointer(int const *ptr); static struct Z z; /*@ assigns z.y; */ void accept_partial_const_struct(void) { z.y = 1; return; } struct T t; void refuse_const_path(void) { return; }