diff options
| author | bringert <bringert@cs.chalmers.se> | 2007-03-24 15:34:33 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2007-03-24 15:34:33 +0000 |
| commit | 407b4bea9c6a843d37efb2aba762b44f6fccd36b (patch) | |
| tree | 3cc65039cda3f4a63a36469f06223aff83343075 /test/srg/srg0002 | |
| parent | e52adbde2eab1989e20656c7278fb098a7aab189 (diff) | |
More srg test cases.
Diffstat (limited to 'test/srg/srg0002')
| -rw-r--r-- | test/srg/srg0002/empty.gf | 13 | ||||
| -rw-r--r-- | test/srg/srg0002/srg0002.gf | 9 |
2 files changed, 9 insertions, 13 deletions
diff --git a/test/srg/srg0002/empty.gf b/test/srg/srg0002/empty.gf deleted file mode 100644 index 19a9701ca..000000000 --- a/test/srg/srg0002/empty.gf +++ /dev/null @@ -1,13 +0,0 @@ -cat S; X; E; - -fun s : S ; -fun es : E -> S -> S ; -fun sx : S -> X -> S ; -fun x : X ; -fun e : E ; - -lin s = { s = "s" } ; -lin es e s = { s = e.s ++ s.s } ; -lin sx s x = { s = s.s ++ x.s } ; -lin x = { s = "x" } ; -lin e = { s = "e" } ; diff --git a/test/srg/srg0002/srg0002.gf b/test/srg/srg0002/srg0002.gf new file mode 100644 index 000000000..fc87b893f --- /dev/null +++ b/test/srg/srg0002/srg0002.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 = [] } ; |
