comparison test/with1.d @ 40:8b0e809563df trunk

[svn r44] Lots of bug fixes. New array literal support New array ~= operator support (for single element) New with statement support More...
author lindquist
date Fri, 19 Oct 2007 07:43:21 +0200
parents
children c44e6a711885
comparison
equal deleted inserted replaced
39:fd5e8bbfcb25 40:8b0e809563df
1 module with1;
2 struct S
3 {
4 int i;
5 float f;
6 }
7 void main()
8 {
9 S s;
10 with(s)
11 {
12 i = 0;
13 f = 3.4;
14 }
15 }