Mercurial > projects > ldc
view test/bug60.d @ 324:c542d12017e5 trunk
[svn r345] Fixed the new moduleinfo stuff to have consistent symbol names with the D style.
author | lindquist |
---|---|
date | Thu, 10 Jul 2008 00:13:09 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
module bug60; extern(C) int printf(char*, ...); void func(T...)(T t) { foreach(v;t) { if (v.length) { foreach(i;v) { printf("%d\n", i); } } } } void main() { auto a = [1,2,3]; func(a); }