view test/unrolled.d @ 198:17dc52256c58 trunk

[svn r214] test results for [210]
author ChristianK
date Mon, 12 May 2008 20:28:44 +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);
}