Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #2495
Closed
Open
Issue created May 25, 2009 by François Bobot@bobotOwner

"logic set<struct something *> f(...)" throw a syntax error

ID0000096: This issue was created automatically from Mantis Issue 96. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000096 Frama-C Kernel public 2009-05-25 2009-07-03
Reporter bobot Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C GIT, precise the release id Target Version Frama-C Beryllium-20090601-beta1 Fixed in Version Frama-C Beryllium-20090601-beta1

Description :

============ typedef struct node { int hd; struct list * next; } list;

/*@ logic set<struct node > tata(struct node * p) = \empty; @/

throw: File "empty.c", line 7, characters 19-23: syntax error while parsing annotation

However there is a natural work around :

/*@ logic set<list > tata(struct node * p) = \empty; @/

is correct.

Additional Information :

svn id : 5303

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking