view tests/mini/typeinfo6.d @ 1065:dc576c7e4b1e

Fix to make sure to create gen/ in build dir and unbreak build with older perl
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 08 Mar 2009 16:37:55 +0100
parents 1bb99290e03a
children
line wrap: on
line source

module typeinfo6;

void main()
{
    auto ti = typeid(int[]);
    assert(ti.toString() == "int[]");
    assert(ti.next() is typeid(int));
}