1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail134.d(13): Error: template instance foo!(f) does not match template declaration foo(T)
5 fail_compilation/fail134.d(14): Error: template instance fail134.bar!(f) error instantiating
6 ---
7 */
8 
9 // Issue 651 - Assertion failure: 'global.errors' on line 2622 in file 'template.c'
10 
f()11 void f() {}
foo(T)12 template foo(T) {}
bar(T...)13 template bar(T...) { alias foo!(T) buz; }
14 alias bar!(f) a;
15