Mercurial > projects > ldc
view tests/minicomplex/volatile1.d @ 644:49466efd4fba
Don't let outer enclosing handlers propagate to nested function declarations.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 04 Oct 2008 12:32:09 +0200 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module tangotests.volatile1; import tango.stdc.stdlib; void main() { int var = rand(); { int i = var; volatile; int j = i; } }