diff options
| author | krasimir <krasimir@chalmers.se> | 2009-10-28 17:59:18 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2009-10-28 17:59:18 +0000 |
| commit | 0fb91bbb2f84d586d3e418cb93c0a9258923d28e (patch) | |
| tree | 42cfa19560be1f1a7b686f2f8398edac18fdcc1d /testsuite/compiler/check/cyclic/params | |
| parent | c330cac1db47bbf5d90fbfbb215797c1dda186ae (diff) | |
added test cases for cyrcular definitions
Diffstat (limited to 'testsuite/compiler/check/cyclic/params')
| -rw-r--r-- | testsuite/compiler/check/cyclic/params/TestParams.gf | 7 | ||||
| -rw-r--r-- | testsuite/compiler/check/cyclic/params/test.gfs | 1 | ||||
| -rw-r--r-- | testsuite/compiler/check/cyclic/params/test.gfs.gold | 4 |
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
|
