[svn r109] Fixed support for static array TypeInfo

This commit is contained in:
Tomas Lindquist Olsen
2007-11-19 03:39:46 +01:00
parent 5e9f5034ff
commit b347fd8a50
3 changed files with 40 additions and 10 deletions

10
test/typeinfo11.d Normal file
View File

@@ -0,0 +1,10 @@
module typeinfo11;
void main()
{
int[4] a;
TypeInfo ti;
ti = typeid(typeof(a));
assert(ti.next() is typeid(int));
assert(ti.tsize() == 16);
}