Mercurial > projects > ldc
comparison test/pt.d @ 5:3d60e549b0c2 trunk
[svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
added readme.txt
added test/g.d - tests passing strings to functions
fixed test/dgs.d and test/funcptr, now all tests except those related to typeinfo should work.
author | lindquist |
---|---|
date | Wed, 05 Sep 2007 07:16:31 +0200 |
parents | c53b6e3fe49a |
children | d9d5d59873d8 |
comparison
equal
deleted
inserted
replaced
4:e116aa1488e6 | 5:3d60e549b0c2 |
---|---|
10 } | 10 } |
11 | 11 |
12 printf("%p %p\n", s.ptr, sd.ptr); | 12 printf("%p %p\n", s.ptr, sd.ptr); |
13 printf("%c%c%c\n", s[0], s[1], s[2]); | 13 printf("%c%c%c\n", s[0], s[1], s[2]); |
14 } | 14 } |
15 | |
16 | 15 |
17 char[16] s1 = void; | 16 char[16] s1 = void; |
18 char[16] s2 = void; | 17 char[16] s2 = void; |
19 char[] d1 = s1; | 18 char[] d1 = s1; |
20 | 19 |