aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/generic_const_inference.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/compilable/generic_const_inference.elna')
-rw-r--r--testsuite/compilable/generic_const_inference.elna6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/compilable/generic_const_inference.elna b/testsuite/compilable/generic_const_inference.elna
index 7ce197f..c9be090 100644
--- a/testsuite/compilable/generic_const_inference.elna
+++ b/testsuite/compilable/generic_const_inference.elna
@@ -6,9 +6,9 @@ type
var
slice: []const Word8
- aliased: ConstAlias := nil
- nested: NestedConst := nil
- direct_const: const ^Word8 := nil
+ aliased: ConstAlias := cast(0u: ConstAlias)
+ nested: NestedConst := cast(0u: NestedConst)
+ direct_const: const ^Word8 := cast(0u: const ^Word8)
proc write#[T](fd: Int; buf: ^T; count: Int) -> Int
return 0