Mercurial > projects > ldc
view tests/mini/unrolled.d @ 1043:0485751a40ae
Fix bug in default implementation of ABIRewrite::getL.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Wed, 04 Mar 2009 23:06:23 +0100 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module unrolled; extern(C) int printf(char*, ...); void test(T...)(T t) { foreach (value; t) { printf("%d\n", value); if (value == 2) break; } } void main() { test(1,4,3); }