Update tests to (Foo) { ... } syntax.

This commit is contained in:
Christoffer Lerno
2025-02-18 18:53:30 +01:00
parent 168c11e006
commit cbacd64987
98 changed files with 449 additions and 551 deletions

View File

@@ -30,6 +30,6 @@ fn void pointer_add_sub_diff()
assert(w == { -1, 2 });
int*[<2>] zz = y - (y - yy);
assert(zz[0] == &a[1] && zz[1] == &a[2]);
int[?]*[<2>] g = int[2]*[<2>] { null, null };
int[?]*[<?>] g2 = int[2]*[<2>] { null, null };
int[?]*[<2>] g = (int[2]*[<2>]) { null, null };
int[?]*[<?>] g2 = (int[2]*[<2>]) { null, null };
}