view test/arrays2.d @ 62:b86e00b938a5 trunk

[svn r66] Added support for imaginary floating point types
author lindquist
date Thu, 25 Oct 2007 09:48:36 +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);
}