Mercurial > projects > ldc
view tests/mini/sync2.d @ 343:15eb8f5f2441 trunk
[svn r364] fixed mini/sync2.d test case.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 03:02:15 +0200 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module tangotests.sync2; class Lock { } const Lock lock; static this() { lock = new Lock; } void main() { size_t id; synchronized(lock) id = 2; }