aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/generic_const_inference.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-09 14:43:11 +0200
committerEugen Wissner <belka@caraus.de>2026-10-09 14:43:11 +0200
commit134d3ac4caff6d87c79b0892e57073594cb0064c (patch)
treee93c73d59ee50f3bdaa073bb5908ae3c74f7a985 /testsuite/compilable/generic_const_inference.elna
parent244449004fb62adbfd43b81e8dfce7500ca4a7e4 (diff)
downloadelna-134d3ac4caff6d87c79b0892e57073594cb0064c.tar.gz
Remove Pointer and nil support
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