Mercurial > projects > ldc
view test/mainargs1.d @ 285:297690b5d4a5 trunk
[svn r306] Fixed: it's now possible to compile and link llvmdc with MinGW32 and msys on Win32 :D I tried it myself ;) Building the runtime still needs some work, but it's a step in the right direction.
author | lindquist |
---|---|
date | Sat, 21 Jun 2008 03:14:49 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
module mainargs1; extern(C) int printf(char*,...); void main(char[][] args) { foreach(v; args) { printf("%.*s\n", v.length, v.ptr); } }