mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
13 lines
163 B
D
13 lines
163 B
D
module aa2;
|
|
|
|
void main()
|
|
{
|
|
long[float] aa;
|
|
long* p = 2.0f in aa;
|
|
assert(!p);
|
|
aa[4f] = 23;
|
|
p = 4f in aa;
|
|
assert(p);
|
|
assert(*p == 23);
|
|
}
|