summaryrefslogtreecommitdiff
path: root/test/srg/cyclic-empty-prod/cyclic-empty-prod.gf
blob: fc87b893f353dff0ceff8d3744e42db24d5e05f6 (plain)
1
2
3
4
5
6
7
8
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 = [] } ;