comparison test/with1.d @ 175:c44e6a711885 trunk

[svn r191] Fixed: array literals did not support all type/storage combinations. Fixed: with expression had broke somewhere along the way.
author lindquist
date Wed, 07 May 2008 00:01:13 +0200
parents 8b0e809563df
children
comparison
equal deleted inserted replaced
174:16e676ae5ab4 175:c44e6a711885
8 { 8 {
9 S s; 9 S s;
10 with(s) 10 with(s)
11 { 11 {
12 i = 0; 12 i = 0;
13 f = 3.4; 13 f = 3.5;
14 } 14 }
15 assert(s.i == 0);
16 assert(s.f == 3.5);
15 } 17 }