Files
ldc/tests/mini/compile_bug_ldc_154.d
2008-12-20 09:29:36 +01:00

10 lines
132 B
D

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