view tests/mini/sync2.d @ 380:2bf65352fb28

Mixed up argument types for aApply and aaApply.
author Christian Kamm <kamm incasoftware de>
date Wed, 23 Jul 2008 17:55:20 +0200
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;
}