Mercurial > projects > ldc
view test/g.d @ 301:f42a1090e895 trunk
[svn r322] More asm-to-outside jumping work. Unfinished.
author | ChristianK |
---|---|
date | Tue, 24 Jun 2008 22:48:33 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
module g; extern(C) int printf(char*, ...); void func(char[] str) { printf("%.*s\n", str.length, str.ptr); } void main() { char[] arr = "Hello World!"; func(arr); func("ditto"); }