comparison test/enum2.d @ 52:0c77619e803b trunk

[svn r56] Initial support for TypeInfo. Enums not work. Several other bugfixes.
author lindquist
date Tue, 23 Oct 2007 05:55:12 +0200
parents
children
comparison
equal deleted inserted replaced
51:61bc1b4ad3c4 52:0c77619e803b
1 module enum2;
2
3 void main()
4 {
5 enum E {
6 A,B
7 }
8 E e = E.B;
9 assert(e == E.B);
10 }