annotate tests/mini/arrays13.d @ 1651:cb960b882ca3 tip

bindings were moved to dsource.org/projects/bindings/
author Moritz Warning <moritzwarning@web.de>
date Thu, 20 May 2010 20:05:03 +0200
parents 1bb99290e03a
children
rev   line source
lindquist@100 1 module arrays13;
lindquist@100 2
lindquist@175 3 extern(C) int printf(char*, ...);
lindquist@175 4
lindquist@100 5 void main()
lindquist@100 6 {
lindquist@175 7 char[] a = "hello";
lindquist@100 8
lindquist@100 9 assert(a > "hel");
lindquist@100 10 assert(a >= "hel");
lindquist@100 11 assert(a < "helloo");
lindquist@100 12 assert(a <= "helloo");
lindquist@100 13 assert(a > "betty");
lindquist@100 14 assert(a >= "betty");
lindquist@100 15 assert(a == "hello");
lindquist@100 16 assert(a <= "hello");
lindquist@100 17 assert(a >= "hello");
lindquist@100 18 }