From 880665ad0fb52dbbfdbe8e0300806fd90a8ca0b8 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 20 May 2009 16:38:19 +0000 Subject: testcase for parameters with nested records --- testsuite/compiler/params/paramsCnc.gf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testsuite/compiler/params/paramsCnc.gf (limited to 'testsuite/compiler/params/paramsCnc.gf') diff --git a/testsuite/compiler/params/paramsCnc.gf b/testsuite/compiler/params/paramsCnc.gf new file mode 100644 index 000000000..1b8b7ac16 --- /dev/null +++ b/testsuite/compiler/params/paramsCnc.gf @@ -0,0 +1,20 @@ +concrete paramsCnc of params = { + +param + Number = Sg | Pl ; + Person = P1 | P2 | P3 ; + +oper + Agr = {n : Number; p : Person} ; + +param + Case = Nom | Acc | Abess Agr ; + +lincat + S = {s : Str} ; + NP = {s : Case => Str} ; + +lin + test np = {s = np.s ! Abess {n=Sg;p=P3}} ; + +} \ No newline at end of file -- cgit v1.2.3