diff options
| author | bringert <bringert@cs.chalmers.se> | 2007-03-23 18:13:38 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2007-03-23 18:13:38 +0000 |
| commit | 5dc92edbb0a12bf44f70a0187d09d453ea68d4f4 (patch) | |
| tree | d2f6bb9ba266c13b2c5e4cdbaaf69f3677cc78fe /test/srg | |
| parent | ccb76f5da0bcff3694f2a306b3056df67ccb27eb (diff) | |
Added srg0003: test case for indirect cycles.
Diffstat (limited to 'test/srg')
| -rw-r--r-- | test/srg/srg0003/cyclic.gf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/srg/srg0003/cyclic.gf b/test/srg/srg0003/cyclic.gf new file mode 100644 index 000000000..316589cd8 --- /dev/null +++ b/test/srg/srg0003/cyclic.gf @@ -0,0 +1,11 @@ +-- a grammar with an indirect cycle + +cat S; G; + +fun f : S ; +fun fg : G -> S ; +fun gf : S -> G ; + +lin f = { s = "f" } ; +lin fg x = x; +lin gf x = x; |
