summaryrefslogtreecommitdiff
path: root/test/srg/cyclic-empty-prod
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2007-03-25 16:42:52 +0000
committerbringert <bringert@cs.chalmers.se>2007-03-25 16:42:52 +0000
commit90ddf726c1be01f6eefec8364f2e65f01c771392 (patch)
treec348178b8b7a211328a79668b0bc718824bc5560 /test/srg/cyclic-empty-prod
parentde0ca9f533523ee0a815c5f0d06c58053c542f91 (diff)
Give SRG test cases human-readable names.
Diffstat (limited to 'test/srg/cyclic-empty-prod')
-rw-r--r--test/srg/cyclic-empty-prod/cyclic-empty-prod.gf9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf b/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf
new file mode 100644
index 000000000..fc87b893f
--- /dev/null
+++ b/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 = [] } ;