"for" clause is refused
ID0001162:
**This issue was created automatically from Mantis Issue 1162. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0001162 | Frama-C | Kernel > ACSL implementation | public | 2012-04-16 | 2012-09-19 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | nmuller | **Assigned To** | virgile | **Resolution** | fixed |
| **Priority** | normal | **Severity** | minor | **Reproducibility** | always |
| **Platform** | - | **OS** | - | **OS Version** | - |
| **Product Version** | Frama-C Nitrogen-20111001 | **Target Version** | - | **Fixed in Version** | Frama-C Oxygen-20120901 |
### Description :
The following annotation is refused :
ensures \result == {s for a = (int)4 };
in the file StructTestPos.c
### Additional Information :
[kernel] preprocessing with "gcc -C -E -I. -dD StructTestPos.c"
StructTestPos.c:38:[kernel] user error: unexpected token 'for'
[kernel] user error: skipping file "StructTestPos.c" that has errors.
[kernel] Frama-C aborted because of invalid user input.
## Attachments
- [StructTestPos.c](/uploads/8cadd724a4ff46794d86c6548f17c6dc/StructTestPos.c)
issue