Mercurial > projects > ldc
view test/arrays2.d @ 134:0dec7b3727ea trunk
[svn r138] forgot the latest tests
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 05:32:24 +0100 |
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); }