view test/arrays2.d @ 249:fa9fef362a98 trunk

[svn r266] dstress results for [265] and small fix for cleanup in runtests script
author ChristianK
date Tue, 10 Jun 2008 21:44:04 +0200
parents c53b6e3fe49a
children
line wrap: on
line source

char[] get()
{
    return "hello";
}

void param(char[] s)
{
}

void refparam(ref char[] s)
{
}

void main()
{
    char[] dstr = get();
    param(dstr);
    refparam(dstr);
}