mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 09:33:27 +01:00
[svn r44] Lots of bug fixes.
New array literal support New array ~= operator support (for single element) New with statement support More...
This commit is contained in:
@@ -17,6 +17,8 @@ void main()
|
||||
S s;
|
||||
s.arr = new int[5];
|
||||
s.arr[1] = 32;
|
||||
assert(s.arr[0] == 0);
|
||||
assert(s.arr[1] == 32);
|
||||
int i;
|
||||
i = s.arr[0];
|
||||
//assert(s.arr[0] == 0);
|
||||
//assert(s.arr[1] == 32);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user