Mercurial > projects > ldc
view test/with1.d @ 288:ba4e4298009a trunk
[svn r309] Remove the large dstress test result files from svn repository.
author | ChristianK |
---|---|
date | Sat, 21 Jun 2008 14:06:00 +0200 |
parents | c44e6a711885 |
children |
line wrap: on
line source
module with1; struct S { int i; float f; } void main() { S s; with(s) { i = 0; f = 3.5; } assert(s.i == 0); assert(s.f == 3.5); }