From 80a26ccb8b7e6bee748da5186f4f7e651f7784a5 Mon Sep 17 00:00:00 2001 From: zinc Date: Thu, 15 Oct 2026 02:40:12 +0330 Subject: tests: zc0typed.zc drops the .u on a typed parameter, which zc0 rejects since 45b53ef like the compiler (the typed/plain image check had compared an empty image) --- tests/programs/zc0typed.zc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/programs/zc0typed.zc b/tests/programs/zc0typed.zc index 81209bf..48488d5 100644 --- a/tests/programs/zc0typed.zc +++ b/tests/programs/zc0typed.zc @@ -11,7 +11,7 @@ const int LIMIT = 10; int add(int a, int b) { return a + b; } .u grow(word[?] v, int n) { return v; } bool keep(int.d x, .m y) { return x != y; } -int apply(int(int) f, int* p, vec>*.u q) { return f(*p); } +int apply(int(int) f, int* p, vec>* q) { return f(*p); } int sq(int x) { return x * x; } fn start() { -- cgit v1.2.3