blob: 639fb6c08e0cabd6cdd82673d34a0ae07ac5b71b [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail96.d(21): Error: template instance `foo!long` `foo` is not a template declaration, it is a function alias
---
*/
// https://issues.dlang.org/show_bug.cgi?id=153
template bar(T)
{
void foo() {}
}
alias bar!(long).foo foo;
alias bar!(char).foo foo;
void main()
{
foo!(long);
}