comparison tests/mini/bug58.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/bug58.d@5071469303d4
children
comparison
equal deleted inserted replaced
340:351c0077d0b3 341:1bb99290e03a
1 module bug58;
2 import std.stdio;
3 void main()
4 {
5 int[16] arr = [1,16,2,15,3,14,4,13,5,12,6,11,7,10,8,9];
6 writefln("arr = ",arr);
7 arr.sort;
8 writefln("arr.sort = ",arr);
9 assert(arr == [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]);
10 }