Mercurial > projects > ldc
comparison test/arrays13.d @ 100:5071469303d4 trunk
[svn r104] TONS OF FIXES.
Split up declaration, constant initializer gen and definition for globals, structs, classes and functions.
Improved ClassInfo support (not complete), not in vtable yet.
Fixed a bunch of forward reference problems.
Much more. Major commit! :)
author | lindquist |
---|---|
date | Fri, 16 Nov 2007 08:21:47 +0100 |
parents | |
children | c44e6a711885 |
comparison
equal
deleted
inserted
replaced
99:a676a7743642 | 100:5071469303d4 |
---|---|
1 module arrays13; | |
2 | |
3 void main() | |
4 { | |
5 string a = "hello"; | |
6 | |
7 assert(a > "hel"); | |
8 assert(a >= "hel"); | |
9 assert(a < "helloo"); | |
10 assert(a <= "helloo"); | |
11 assert(a > "betty"); | |
12 assert(a >= "betty"); | |
13 assert(a == "hello"); | |
14 assert(a <= "hello"); | |
15 assert(a >= "hello"); | |
16 } |