Mercurial > projects > ldc
view tests/mini/sync3.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 | 1bb99290e03a |
children |
line wrap: on
line source
module tangotests.sync3; void main() { int i = foo(); } int foo() { int res; synchronized { scope(exit) res--; res++; return res; } }