Mercurial > projects > ldc
view test/bug28.d @ 73:b706170e24a9 trunk
[svn r77] Fixed foreach on slice.
Fixed some nested function problems when accessing outer function parameters.
Major changes to handling of structs.
Initial support for unions.
Probably more...
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 03:11:32 +0100 |
parents | 0c77619e803b |
children |
line wrap: on
line source
module bug28; void main() { char[] a = "hello"; char[] b = "hello"; char[] c = "world"; char[] d = "somethingelse"; assert(a == a); assert(a == b); assert(a != c); assert(b != c); assert(a != d); assert(b != d); assert(c != d); assert(d == d); }