view test/typeinfo6.d @ 258:8dbddae09152 trunk

[svn r276] Fixed debug info for 'this' arg seemed to be broken.
author lindquist
date Thu, 12 Jun 2008 19:59:19 +0200
parents 2c3cd3596187
children
line wrap: on
line source

module typeinfo6;

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