Mercurial > projects > ldc
view test/mainargs1.d @ 137:ce7b81fb957f trunk
[svn r141] fixed more problems with classinfo
moved more IR state out of the AST classes
author | lindquist |
---|---|
date | Fri, 18 Jan 2008 16:42:16 +0100 |
parents | 44a95ac7368a |
children | d9d5d59873d8 |
line wrap: on
line source
module mainargs1; extern(C) int printf(char*,...); void main(string[] args) { foreach(v; args) { printf("%.*s\n", v.length, v.ptr); } }