Mercurial > projects > ldc
view test/foreach3.d @ 232:092468448d25 trunk
[svn r248] Fixed: labels in inline asm block now work for the normal case.
Fixed: inline asm blocks are now emitted as a single asm entity.
author | lindquist |
---|---|
date | Sun, 08 Jun 2008 06:15:51 +0200 |
parents | 4648206ca213 |
children | d9d5d59873d8 |
line wrap: on
line source
module foreach3; void main() { static str = ['h','e','l','l','o']; foreach(i,v; str) { printf("%c",v); } printf("\n"); foreach(i,v; str) { v++; } foreach(i,v; str) { printf("%c",v); } printf("\n"); }