annotate tests/mini/multiarr2.d @ 1622:a542ef277a84

Merge DMD r316: bugzilla 3628 can't cast null to int --- dmd/constfold.c | 2 +- dmd/optimize.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
author Leandro Lucarella <llucax@gmail.com>
date Wed, 06 Jan 2010 15:18:22 -0300
parents 1bb99290e03a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64
b688ad419f8c [svn r68] Added support for multi-dimensional static arrays.
lindquist
parents:
diff changeset
1 module multiarr2;
b688ad419f8c [svn r68] Added support for multi-dimensional static arrays.
lindquist
parents:
diff changeset
2
b688ad419f8c [svn r68] Added support for multi-dimensional static arrays.
lindquist
parents:
diff changeset
3 void main()
b688ad419f8c [svn r68] Added support for multi-dimensional static arrays.
lindquist
parents:
diff changeset
4 {
b688ad419f8c [svn r68] Added support for multi-dimensional static arrays.
lindquist
parents:
diff changeset
5 static float[1][2][3] arr;
b688ad419f8c [svn r68] Added support for multi-dimensional static arrays.
lindquist
parents:
diff changeset
6 assert(arr[2][1][0] !<>= float.nan);
b688ad419f8c [svn r68] Added support for multi-dimensional static arrays.
lindquist
parents:
diff changeset
7 }