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/opers | |
| parent | c330cac1db47bbf5d90fbfbb215797c1dda186ae (diff) | |
added test cases for cyrcular definitions
Diffstat (limited to 'testsuite/compiler/check/cyclic/opers')
| -rw-r--r-- | testsuite/compiler/check/cyclic/opers/TestOpers.gf | 10 | ||||
| -rw-r--r-- | testsuite/compiler/check/cyclic/opers/test.gfs | 1 | ||||
| -rw-r--r-- | testsuite/compiler/check/cyclic/opers/test.gfs.gold | 4 |
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
|
