view tangotests/vararg1.d @ 164:a64becf2a702 trunk

[svn r180] Fixed complex negation, and tango.math.Math now compiles.
author lindquist
date Mon, 05 May 2008 20:28:59 +0200
parents a8cd9bc1021a
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);
}