mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-31 03:53:14 +01:00
[svn r56] Initial support for TypeInfo.
Enums not work. Several other bugfixes.
This commit is contained in:
12
test/enum1.d
Normal file
12
test/enum1.d
Normal file
@@ -0,0 +1,12 @@
|
||||
module enum1;
|
||||
|
||||
void main()
|
||||
{
|
||||
enum {
|
||||
HELLO,
|
||||
WORLD
|
||||
}
|
||||
|
||||
assert(HELLO == 0);
|
||||
assert(WORLD == 1);
|
||||
}
|
||||
Reference in New Issue
Block a user