view test/unrolled.d @ 110:e8da7856a260 trunk

[svn r114] Implemented the ClassInfo.offTi member.
author lindquist
date Thu, 22 Nov 2007 21:01:01 +0100
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);
}