mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-23 20:41:49 +01:00
[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! :)
This commit is contained in:
16
test/arrays13.d
Normal file
16
test/arrays13.d
Normal file
@@ -0,0 +1,16 @@
|
||||
module arrays13;
|
||||
|
||||
void main()
|
||||
{
|
||||
string a = "hello";
|
||||
|
||||
assert(a > "hel");
|
||||
assert(a >= "hel");
|
||||
assert(a < "helloo");
|
||||
assert(a <= "helloo");
|
||||
assert(a > "betty");
|
||||
assert(a >= "betty");
|
||||
assert(a == "hello");
|
||||
assert(a <= "hello");
|
||||
assert(a >= "hello");
|
||||
}
|
||||
Reference in New Issue
Block a user