aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/generic_constructor.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runnable/generic_constructor.elna')
-rw-r--r--testsuite/runnable/generic_constructor.elna6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/runnable/generic_constructor.elna b/testsuite/runnable/generic_constructor.elna
index d0a3f78..b21cd4a 100644
--- a/testsuite/runnable/generic_constructor.elna
+++ b/testsuite/runnable/generic_constructor.elna
@@ -5,16 +5,16 @@ type
end
Stack#[T] = record
- items: T;
+ items: ^T;
top: Word
end
var
- s: Stack#[^File]
+ s: Stack#[File]
f: File
begin
- s := Stack#[^File]{ top: 1u, items: @f };
+ s := Stack#[File]{ top: 1u, items: @f };
assert(s.top = 1u);
assert(s.items = @f)
end.