forked from GitHub/gf-core
one more test for cyclic operations
This commit is contained in:
10
testsuite/compiler/check/cyclic/opers/TestOperTypes.gf
Normal file
10
testsuite/compiler/check/cyclic/opers/TestOperTypes.gf
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
resource TestOperTypes = {
|
||||||
|
|
||||||
|
flags
|
||||||
|
optimize=noexpand;
|
||||||
|
|
||||||
|
oper
|
||||||
|
A : T = Str ;
|
||||||
|
T : Type = A ;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1 +1,2 @@
|
|||||||
i -src testsuite/compiler/check/cyclic/opers/TestOpers.gf
|
i -src testsuite/compiler/check/cyclic/opers/TestOpers.gf
|
||||||
|
i -src testsuite/compiler/check/cyclic/opers/TestOperTypes.gf
|
||||||
@@ -2,3 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
checking module TestOpers
|
||||||
|
|
||||||
|
circular definitions: A B
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user