blob: 4e12490e35f0ac9fc491cc9f7efbfefe0b2102e0 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/ice11472.d(13): Error: template instance `fun2!fun` `fun2` is not a template declaration, it is a function
fail_compilation/ice11472.d(18): Error: template instance `ice11472.fun1!(fun3)` error instantiating
---
*/
void fun3() {}
void fun2(string a) {}
void fun1(alias fun=fun3)()
{
"a".fun2!fun;
}
void main()
{
fun1;
}