view tangotests/vararg1.d @ 163:a8cd9bc1021a trunk

[svn r179] lots and lots of fixes, much more of tango now compiles/works.
author lindquist
date Mon, 05 May 2008 07:36:29 +0200
parents
children 6476da35a0fe
line wrap: on
line source

module tangotests.vararg1;

import tango.io.Stdout;

void func(int[] arr...)
{
    Stdout.formatln("1,2,4,5,6 == {},{},{},{},{}", arr[0],arr[1],arr[2],arr[3],arr[4]);
}

void main()
{
    func(1,2,4,5,6);
}