[svn r103] Array comparisons are now fully implemented, that is - to the extent that TypeInfo is.

This commit is contained in:
Tomas Lindquist Olsen
2007-11-15 00:24:44 +01:00
parent 302015d7e8
commit 7d6bbcd87d
6 changed files with 103 additions and 9 deletions

19
test/arrays12.d Normal file
View File

@@ -0,0 +1,19 @@
module arrays12;
void ints()
{
int[3] a = [1,2,3];
int[3] b = [2,3,4];
int[3] c = [2,5,0];
{assert(a < b);}
{assert(b > a);}
{assert(a < c);}
{assert(c > a);}
{assert(b < c);}
{assert(c > b);}
}
void main()
{
ints();
}