Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import std.stdio;
- enum EnumA {
- A,
- }
- enum EnumB {
- B
- }
- /* Hello World Program in D Programming */
- void main(string[ ] args)
- {
- immutable(EnumA) x = EnumA.A;
- assert(x == EnumB.B);
- writeln("Hello World!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement