1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/diag11769.d(18): Error: diag11769.foo!string.bar called with argument types (string) matches both: 5 fail_compilation/diag11769.d(13): diag11769.foo!string.bar(wstring _param_0) 6 and: 7 fail_compilation/diag11769.d(14): diag11769.foo!string.bar(dstring _param_0) 8 --- 9 */ 10 foo(T)11template foo(T) 12 { 13 void bar(wstring) {} 14 void bar(dstring) {} 15 } main()16void main() 17 { 18 foo!string.bar("abc"); 19 } 20