Mercurial > projects > ldc
view test/with1.d @ 227:3092a38dddab trunk
[svn r243] fixed inline asm arg_pointer args hopefully.
author | lindquist |
---|---|
date | Sat, 07 Jun 2008 19:19:30 +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); }