Mercurial > projects > ldc
view tests/mini/arrays2.d @ 862:e8337278f49b
temporary fix for runtime buildscript to copy ldc's imports to tango
author | elrood |
---|---|
date | Thu, 18 Dec 2008 19:21:44 +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); }