diff options
Diffstat (limited to 'testsuite/compilable')
| -rw-r--r-- | testsuite/compilable/record_const_base.elna | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/compilable/record_const_base.elna b/testsuite/compilable/record_const_base.elna new file mode 100644 index 0000000..f24d27b --- /dev/null +++ b/testsuite/compilable/record_const_base.elna @@ -0,0 +1,18 @@ +type + B = record + x: Int + end + CB = const B + D = record(CB) + y: Int + end + +proc f() +var + d: D +begin + d.x := 1; + d.y := 2 +return + +end. |
