summaryrefslogtreecommitdiff
path: root/testsuite/compiler/check/cyclic/params
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-10-28 17:59:18 +0000
committerkrasimir <krasimir@chalmers.se>2009-10-28 17:59:18 +0000
commit0fb91bbb2f84d586d3e418cb93c0a9258923d28e (patch)
tree42cfa19560be1f1a7b686f2f8398edac18fdcc1d /testsuite/compiler/check/cyclic/params
parentc330cac1db47bbf5d90fbfbb215797c1dda186ae (diff)
added test cases for cyrcular definitions
Diffstat (limited to 'testsuite/compiler/check/cyclic/params')
-rw-r--r--testsuite/compiler/check/cyclic/params/TestParams.gf7
-rw-r--r--testsuite/compiler/check/cyclic/params/test.gfs1
-rw-r--r--testsuite/compiler/check/cyclic/params/test.gfs.gold4
3 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/compiler/check/cyclic/params/TestParams.gf b/testsuite/compiler/check/cyclic/params/TestParams.gf
new file mode 100644
index 000000000..5f268db66
--- /dev/null
+++ b/testsuite/compiler/check/cyclic/params/TestParams.gf
@@ -0,0 +1,7 @@
+resource TestParams = {
+
+param
+ A = A1 B ;
+ B = B1 A ;
+
+} \ No newline at end of file
diff --git a/testsuite/compiler/check/cyclic/params/test.gfs b/testsuite/compiler/check/cyclic/params/test.gfs
new file mode 100644
index 000000000..120ad77ce
--- /dev/null
+++ b/testsuite/compiler/check/cyclic/params/test.gfs
@@ -0,0 +1 @@
+i testsuite/compiler/check/cyclic/params/TestParams.gf \ No newline at end of file
diff --git a/testsuite/compiler/check/cyclic/params/test.gfs.gold b/testsuite/compiler/check/cyclic/params/test.gfs.gold
new file mode 100644
index 000000000..bcd6a118e
--- /dev/null
+++ b/testsuite/compiler/check/cyclic/params/test.gfs.gold
@@ -0,0 +1,4 @@
+
+
+checking module TestParams
+ circular definitions: A B