Mercurial > projects > ldc
view test/bug28.d @ 296:0548a7720a1b trunk
[svn r317] Convert result of _adEq runtime function to bool to make sure EqualExp returns i1 bool.
author | ChristianK |
---|---|
date | Mon, 23 Jun 2008 19:08:32 +0200 |
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); }