1 // https://issues.dlang.org/show_bug.cgi?id=19775
3 enum ident(alias a
, args
...) = mixin(a
, args
);
5 //enum x2 = ident!("x1"); //FIXME - empty args
7 enum x3
= ident
!("x", 2);
8 enum x4
= ident
!('x', "", 3);
9 enum x5
= ident
!("", 'x', 4);
11 //static assert(x2 == 42);
12 static assert(x3
== 42);
13 static assert(x4
== 42);
14 static assert(x5
== 42);