Additional fixes on $define

This commit is contained in:
Christoffer Lerno
2025-06-06 15:38:46 +02:00
parent 5e45c34f21
commit 4cfa5441d2
4 changed files with 16 additions and 9 deletions

View File

@@ -15,4 +15,8 @@ fn void binary()
assert(!$defined(*1));
assert(!$defined(&1));
assert(!$defined(1 = "ofek"));
String[] a;
assert(!$defined(a[0] = 1));
int x;
assert(!$defined(x[0]));
}