File: output.pn

package info (click to toggle)
maria 1.3.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,068 kB
  • sloc: cpp: 43,408; yacc: 8,080; ansic: 436; sh: 404; lisp: 395; makefile: 228; perl: 21
file content (5 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (6)
1
2
3
4
5
typedef enum { a,b,c } enum_t;
place p enum_t: enum_t e: e;
trans f { enum_t d = enum_t g! (g != c); }
in { place p: enum_t e : e; }
out { place p: is unsigned d#d; };