Files
ldc/test/with1.d
Tomas Lindquist Olsen 10db08076c [svn r44] Lots of bug fixes.
New array literal support
New array ~= operator support (for single element)
New with statement support
More...
2007-10-19 07:43:21 +02:00

16 lines
132 B
D

module with1;
struct S
{
int i;
float f;
}
void main()
{
S s;
with(s)
{
i = 0;
f = 3.4;
}
}