diff options
| author | 2026-10-15 02:40:12 +0330 | |
|---|---|---|
| committer | 2026-10-15 02:40:12 +0330 | |
| commit | 80a26ccb8b7e6bee748da5186f4f7e651f7784a5 (patch) | |
| tree | a3295aa47e3bd1529acdec617f4108a2b83757bf | |
| parent | merge work/dtor: destructors (drop on any heap value, heap(), struct drop, co... (diff) | |
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)
| -rw-r--r-- | tests/programs/zc0typed.zc | 2 |
1 files changed, 1 insertions, 1 deletions
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<vec<int>>*.u q) { return f(*p); } +int apply(int(int) f, int* p, vec<vec<int>>* q) { return f(*p); } int sq(int x) { return x * x; } fn start() { |
