Mercurial > projects > ldc
view tangotests/mem2.d @ 221:68687d8c3e9a trunk
[svn r237] some inline asm output now seems to work, see tangotests/asm2.d
author | lindquist |
---|---|
date | Fri, 06 Jun 2008 20:51:43 +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); }