view tests/mini/compile_bug_ldc_154.d @ 1568:a591aa6bd6dc

Forgot to add files.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Thu, 06 Aug 2009 17:04:36 +0200
parents 766267808f11
children
line wrap: on
line source

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