diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-03 20:51:22 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-03 20:51:22 +0200 |
| commit | e4ce7f658741a7428597da4872435a1b0bae944c (patch) | |
| tree | 50f65abf6fa4468db7bc93a6ae61d623a2dd8566 /testsuite/compilable/generic_const_inference.elna | |
| parent | 5d808dd4c4003968bbdf180e1e1193231db5d43b (diff) | |
| download | elna-e4ce7f658741a7428597da4872435a1b0bae944c.tar.gz | |
Rework generics for parameters to be plain types
Diffstat (limited to 'testsuite/compilable/generic_const_inference.elna')
| -rw-r--r-- | testsuite/compilable/generic_const_inference.elna | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/compilable/generic_const_inference.elna b/testsuite/compilable/generic_const_inference.elna index a9fc41f..7ce197f 100644 --- a/testsuite/compilable/generic_const_inference.elna +++ b/testsuite/compilable/generic_const_inference.elna @@ -10,10 +10,10 @@ var nested: NestedConst := nil direct_const: const ^Word8 := nil -proc write#[T](fd: Int; buf: T; count: Int) -> Int +proc write#[T](fd: Int; buf: ^T; count: Int) -> Int return 0 -proc write_const#[T](fd: Int; buf: const T; count: Int) -> Int +proc write_const#[T](fd: Int; buf: ^const T; count: Int) -> Int return 0 begin |
