Mercurial > projects > ldc
view tangotests/volatile1.d @ 309:d59c363fccad trunk
[svn r330] Implemented synchronized statements.
Changed the tryfinally handlers to a more generalized EnclosingHandler.
Changed ClassInfoS to be mutable so they can be used as locks.
Added new BB after throw ala return/break etc.
author | lindquist |
---|---|
date | Sat, 28 Jun 2008 11:37:53 +0200 |
parents | cd2c9f4010e4 |
children |
line wrap: on
line source
module tangotests.volatile1; import tango.stdc.stdlib; void main() { int var = rand(); { int i = var; volatile; int j = i; } }