comparison test/enum1.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 enum1;
2
3 void main()
4 {
5 enum {
6 HELLO,
7 WORLD
8 }
9
10 assert(HELLO == 0);
11 assert(WORLD == 1);
12 }