MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail96.d
blob639fb6c08e0cabd6cdd82673d34a0ae07ac5b71b
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail96.d(21): Error: template instance `foo!long` `foo` is not a template declaration, it is a function alias
5 ---
6 */
8 // https://issues.dlang.org/show_bug.cgi?id=153
10 template bar(T)
12 void foo() {}
15 alias bar!(long).foo foo;
16 alias bar!(char).foo foo;
19 void main()
21 foo!(long);