view test/unrolled.d @ 202:56e0c5b1d428 trunk

[svn r218] Added test results for [217]
author lindquist
date Mon, 12 May 2008 23:49:07 +0200
parents 37a4fdab33fc
children d9d5d59873d8
line wrap: on
line source

module unrolled;

void test(T...)(T t) {
    foreach (value; t) {
        printf("%d\n", value);
        if (value == 2)
            break;
    }
}

void main() {
    test(1,4,3);
}