Mercurial > projects > ldc
view tests/minicomplex/volatile1.d @ 709:b972fb129d37
Add missing case to DtoAssign for T[n] = T[]. Fixes downs' initializer bug.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 16 Oct 2008 22:36:26 +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; } }