annotate tests/mini/arrays12.d @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
parents 1bb99290e03a
children
rev   line source
lindquist@99 1 module arrays12;
lindquist@99 2
lindquist@99 3 void ints()
lindquist@99 4 {
lindquist@99 5 int[3] a = [1,2,3];
lindquist@99 6 int[3] b = [2,3,4];
lindquist@99 7 int[3] c = [2,5,0];
lindquist@99 8 {assert(a < b);}
lindquist@99 9 {assert(b > a);}
lindquist@99 10 {assert(a < c);}
lindquist@99 11 {assert(c > a);}
lindquist@99 12 {assert(b < c);}
lindquist@99 13 {assert(c > b);}
lindquist@99 14 }
lindquist@99 15
lindquist@99 16 void main()
lindquist@99 17 {
lindquist@99 18 ints();
lindquist@99 19 }