Add #154 testcase.

This commit is contained in:
Christian Kamm
2008-12-18 08:09:01 +01:00
parent 8f62c080e2
commit 2d573974d7

View File

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