diff options
| author | krasimir <krasimir@chalmers.se> | 2008-10-20 11:11:59 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2008-10-20 11:11:59 +0000 |
| commit | 3d92897a944fef8f201b3ced837156b50c415106 (patch) | |
| tree | d55a62441c12630f246905f17d2b852d9ddb507b /examples/test/srg/cyclic-empty-prod | |
| parent | 6f7d0ab08d5eaf1edae09ffaeda59e459d3d6266 (diff) | |
more test/srg to examples/test/srg
Diffstat (limited to 'examples/test/srg/cyclic-empty-prod')
| -rw-r--r-- | examples/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf b/examples/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf new file mode 100644 index 000000000..fc87b893f --- /dev/null +++ b/examples/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf @@ -0,0 +1,9 @@ +cat S; E; + +fun s : S ; +fun es : E -> S -> S ; +fun e : E ; + +lin s = { s = "s" } ; +lin es e s = { s = e.s ++ s.s } ; +lin e = { s = [] } ; |
