struct type not supported in type invariant
ID0001156:
**This issue was created automatically from Mantis Issue 1156. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0001156 | Frama-C | Plug-in > jessie | public | 2012-04-16 | 2012-10-26 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | nmuller | **Assigned To** | cmarche | **Resolution** | won't fix |
| **Priority** | normal | **Severity** | feature | **Reproducibility** | always |
| **Platform** | - | **OS** | - | **OS Version** | - |
| **Product Version** | Frama-C GIT, precise the release id | **Target Version** | - | **Fixed in Version** | - |
### Description :
the struct type is not supported in the following syntax :
//@ type invariant pt_validity(struct T t) = t.ok ==> \valid(t.pt) ;
### Additional Information :
frama-c -jessie -jessie-atp alt-ergo struct_invariant.c
[kernel] preprocessing with "gcc -C -E -I. -dD struct_invariant.c"
[jessie] Starting Jessie translation
struct_invariant.c:7:[jessie] failure: Jessie plugin does not support struct or union as parameter to logic functions. Please use a pointer instead.
[jessie] warning: Unsupported feature(s).
Jessie plugin can not be used on your code.
## Attachments
- [struct_invariant.c](/uploads/852a44c5bba53564c7e30de851ef9dfe/struct_invariant.c)
issue