view test/bug41.d @ 177:cea8dcfa76df trunk

[svn r193] Fixed: abstract classes implementing interfaces now output proper Interface info arrays. (null vtables). Did a little renaming of delegate utils.
author lindquist
date Wed, 07 May 2008 04:45:51 +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");
}