view tests/mini/arrays2.d @ 829:0a31c60a6bc1

.. and fixed the install target (hopefully)
author elrood
date Fri, 05 Dec 2008 22:01:50 +0100
parents 1bb99290e03a
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);
}