From 0fb91bbb2f84d586d3e418cb93c0a9258923d28e Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 28 Oct 2009 17:59:18 +0000 Subject: added test cases for cyrcular definitions --- testsuite/compiler/check/cyclic/params/TestParams.gf | 7 +++++++ testsuite/compiler/check/cyclic/params/test.gfs | 1 + testsuite/compiler/check/cyclic/params/test.gfs.gold | 4 ++++ 3 files changed, 12 insertions(+) create mode 100644 testsuite/compiler/check/cyclic/params/TestParams.gf create mode 100644 testsuite/compiler/check/cyclic/params/test.gfs create mode 100644 testsuite/compiler/check/cyclic/params/test.gfs.gold (limited to 'testsuite/compiler/check/cyclic/params') 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 -- cgit v1.2.3