Mercurial > projects > ldc
view tests/mini/sync3.d @ 1023:ca191c141cec
Fixed find alt script.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 01 Mar 2009 22:40:15 +0100 |
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; } }