5 fail_compilation/fail238_m64.d(21): Error: cannot implicitly convert expression `"a"` of type `string` to `ulong`
6 fail_compilation/fail238_m64.d(24): Error: cannot implicitly convert expression `X!()` of type `void` to `const(string)`
7 fail_compilation/fail238_m64.d(29): Error: template instance `fail238_m64.A!"a"` error instantiating
8 fail_compilation/fail238_m64.d(35): instantiated from here: `M!(q)`
9 fail_compilation/fail238_m64.d(35): while evaluating `pragma(msg, M!(q))`
13 // https://issues.dlang.org/show_bug.cgi?id=581
14 // Error message w/o line number in dot-instantiated template
17 template D(string
str){}
19 template A(string
str)
21 static if (D
!(str[str]))
24 const string A
= .X
!();
29 const string M
= A
!("a");