mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 11:53:13 +01:00
New array literal support New array ~= operator support (for single element) New with statement support More...
16 lines
132 B
D
16 lines
132 B
D
module with1;
|
|
struct S
|
|
{
|
|
int i;
|
|
float f;
|
|
}
|
|
void main()
|
|
{
|
|
S s;
|
|
with(s)
|
|
{
|
|
i = 0;
|
|
f = 3.4;
|
|
}
|
|
}
|