comparison test/arrays2.d @ 1:c53b6e3fe49a trunk

[svn r5] Initial commit. Most things are very rough.
author lindquist
date Sat, 01 Sep 2007 21:43:27 +0200
parents
children
comparison
equal deleted inserted replaced
0:a9e71648e74d 1:c53b6e3fe49a
1 char[] get()
2 {
3 return "hello";
4 }
5
6 void param(char[] s)
7 {
8 }
9
10 void refparam(ref char[] s)
11 {
12 }
13
14 void main()
15 {
16 char[] dstr = get();
17 param(dstr);
18 refparam(dstr);
19 }