mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-06 12:23:13 +01:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
12
tests/mini/enum1.d
Normal file
12
tests/mini/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