1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag9880.d(9): Error: template instance diag9880.foo!string does not match template declaration foo(T)(int) if (is(T == int))
5 ---
6 */
7 
8 void foo(T)(int) if (is(T == int)) {}
main()9 void main() { alias f = foo!string; }
10