1 module imports.template_ovs3;
2 
3 /***************************************************/
4 // https://issues.dlang.org/show_bug.cgi?id=1900
5 // template overload set
6 
7 import imports.template_ovs1;
8 import imports.template_ovs2;
9 
10 struct S1900
11 {
12     alias .foo1900a foo1900a;
13     alias .foo1900b foo1900b;
14 
15     alias .bar1900a bar1900a;
16     alias .bar1900b bar1900b;
17 
18     alias .baz1900 baz1900;
19 
20     alias .bad1900 bad1900;
21 
22     // This is a kind of Issue 1528, cannot make overload contains both templates and functions
23     //void funcF() {}
24     //void funcT(T)(T) {}
25     //alias funcF funca;   // make overload with alias declaration
26     //alias funcT funca;
27     //alias funcT funcb;   // make overload with alias declaration
28     //alias funcF funcb;
29 
30     mixin Mix1900_A a;
31     mixin Mix1900_B b;
32 }
33 
34 /***************************************************/
35 // https://issues.dlang.org/show_bug.cgi?id=1900
36 
37 struct Traits1900(T) if (!is(T == class)) { enum name = "any"; }