Mercurial > projects > ldc
view test/bug41.d @ 274:9f228c1e5311 trunk
[svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
Test results for current revision added.
author | ChristianK |
---|---|
date | Thu, 19 Jun 2008 13:54:31 +0200 |
parents | b706170e24a9 |
children |
line wrap: on
line source
module bug41; void main() { char[] a = "hello world"; char* ap = a.ptr; size_t i = 5; char[] b = ap[0..i]; assert(b == "hello"); }