forked from GitHub/gf-core
one more test for cyclic def rules
This commit is contained in:
11
testsuite/compiler/check/cyclic/abs-types/Test3Abs.gf
Normal file
11
testsuite/compiler/check/cyclic/abs-types/Test3Abs.gf
Normal file
@@ -0,0 +1,11 @@
|
||||
abstract Test3Abs = {
|
||||
|
||||
cat A ;
|
||||
|
||||
fun f : A -> A ;
|
||||
def f = g ;
|
||||
|
||||
fun g : A -> A ;
|
||||
def g = f ;
|
||||
|
||||
}
|
||||
1
testsuite/compiler/check/cyclic/abs-types/test3.gfs
Normal file
1
testsuite/compiler/check/cyclic/abs-types/test3.gfs
Normal file
@@ -0,0 +1 @@
|
||||
i -src testsuite/compiler/check/cyclic/abs-types/Test3Abs.gf
|
||||
Reference in New Issue
Block a user