Mercurial > projects > ldc
view tests/mini/sync2.d @ 963:fa21062b6948
Fix for tests/mini/callingconv1.d
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Sun, 15 Feb 2009 22:56:10 -0700 |
parents | 15eb8f5f2441 |
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; }