Mercurial > projects > dstress
view run/a/array_initialization_23_B.d @ 1542:d8e1feb9e66e
[Issue 1152] Inline assembler: cannot use properties of types
Matti Niemenmaa (Deewiant) <deewiant@gmail.com>
2007-05-31
http://d.puremagic.com/issues/show_bug.cgi?id=1152
author | thomask |
---|---|
date | Sun, 01 Jul 2007 13:19:07 +0000 |
parents | 33178712ec71 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Anders F Börklund <afb@algonet.se> // @date@ 2006-02-19 // @uri@ news:dt8eo8$5ol$1@digitaldaemon.com module dstress.run.a.array_initialization_23_B; int main(){ double[] a; a.length = 1; if(a[0] <>= 0.0f){ assert(0); } a[0] = 2.1; a.length = 2; if(a[0] != 2.1){ assert(0); } if(a[1] <>= 0.0f){ assert(0); } return 0; }