summaryrefslogtreecommitdiff
path: root/testsuite/compiler/check/cyclic/opers
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/compiler/check/cyclic/opers')
-rw-r--r--testsuite/compiler/check/cyclic/opers/TestOpers.gf10
-rw-r--r--testsuite/compiler/check/cyclic/opers/test.gfs1
-rw-r--r--testsuite/compiler/check/cyclic/opers/test.gfs.gold4
3 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/compiler/check/cyclic/opers/TestOpers.gf b/testsuite/compiler/check/cyclic/opers/TestOpers.gf
new file mode 100644
index 000000000..886458b3f
--- /dev/null
+++ b/testsuite/compiler/check/cyclic/opers/TestOpers.gf
@@ -0,0 +1,10 @@
+resource TestOpers = {
+
+flags
+ optimize=noexpand;
+
+oper
+ A : Str = B ;
+ B : Str = A ;
+
+} \ No newline at end of file
diff --git a/testsuite/compiler/check/cyclic/opers/test.gfs b/testsuite/compiler/check/cyclic/opers/test.gfs
new file mode 100644
index 000000000..5c469f036
--- /dev/null
+++ b/testsuite/compiler/check/cyclic/opers/test.gfs
@@ -0,0 +1 @@
+i testsuite/compiler/check/cyclic/opers/TestOpers.gf \ No newline at end of file
diff --git a/testsuite/compiler/check/cyclic/opers/test.gfs.gold b/testsuite/compiler/check/cyclic/opers/test.gfs.gold
new file mode 100644
index 000000000..d09ec7edd
--- /dev/null
+++ b/testsuite/compiler/check/cyclic/opers/test.gfs.gold
@@ -0,0 +1,4 @@
+
+
+checking module TestOpers
+ circular definitions: A B