Mercurial > projects > ldc
view tangotests/mem2.d @ 229:cac3d27ae481 trunk
[svn r245] initial support for labels in inline asm, broken :/
author | lindquist |
---|---|
date | Sat, 07 Jun 2008 21:31:38 +0200 |
parents | c4c9b4ac021b |
children |
line wrap: on
line source
module tangotests.mem2; void main() { int* ip = new int; assert(*ip == 0); *ip = 4; assert(*ip == 4); delete ip; assert(ip is null); }