Files
ldc/tests/mini/compile_bug_ldc_154.d
T

10 lines
132 B
D

template toInt(char[4] arg)
{
const uint toInt = (cast(uint[]) arg)[0];
}
void main()
{
auto i = toInt!("abcd");
}