forked from GitHub/gf-core
added testcase for linearization with HOAS
This commit is contained in:
7
testsuite/runtime/linearize/TestCnc.gf
Normal file
7
testsuite/runtime/linearize/TestCnc.gf
Normal file
@@ -0,0 +1,7 @@
|
||||
concrete TestCnc of Test = {
|
||||
|
||||
lincat E,P = {s:Str} ;
|
||||
|
||||
lin Exist f = {s = "exists" ++ f.$0 ++ "such that" ++ f.s};
|
||||
lin Even x = {s = x.s ++ "is even"};
|
||||
}
|
||||
Reference in New Issue
Block a user