mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-19 11:50:18 +02:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user