1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail222.d(10): Error: template fail222.getMixin(TArg..., int i = 0)() template tuple parameter must be last one
5 fail_compilation/fail222.d(17): Error: template instance getMixin!() does not match template declaration getMixin(TArg..., int i = 0)()
6 fail_compilation/fail222.d(20): Error: template instance fail222.Thing!() error instantiating
7 ---
8 */
9 
10 string getMixin(TArg..., int i = 0)()
11 {
12     return ``;
13 }
14 
Thing(TArg...)15 class Thing(TArg...)
16 {
17     mixin(getMixin!(TArg)());
18 }
19 
20 public Thing!() stuff;
21