Mercurial > projects > ldc
view tangotests/mem5.d @ 236:df1abfe27be6 trunk
[svn r252] added warnings about using an up to date runtime
author | ChristianK |
---|---|
date | Sun, 08 Jun 2008 18:20:48 +0200 |
parents | c4c9b4ac021b |
children |
line wrap: on
line source
module tangotests.mem5; class SC { int* ip; this() { ip = new int; } ~this() { delete ip; } void check() { assert(ip !is null); } } void main() { scope sc = new SC; sc.check(); }