Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/test23607.d

raw
1 //https://issues.dlang.org/show_bug.cgi?id=23607
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test23607.d(15): Error: template `to(T)()` does not have property `bad`
6 fail_compilation/test23607.d(16): Error: template `to(T)()` does not have property `bad`
7 ---
8 */
9
10 template to(T)
11 {
12 void to(T)(){}
13 }
14
15 alias comb = to!int.bad!0;
16 auto combe = to!int.bad!0;