1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/fail316.d(17): Error: mixin `fail316.foo.BadImpl!(uint, Mix1)` cannot resolve forward reference 5 --- 6 */ BadImpl(T,alias thename)7template BadImpl(T, alias thename) 8 { 9 void a_bad_idea(T t) 10 { 11 thename.a_bad_idea(t); 12 } 13 } 14 15 class foo 16 { 17 mixin BadImpl!(uint,Mix1) Mix1; 18 } 19 main()20int main() 21 { 22 return 0; 23 } 24