view tests/mini/compile_bug_ldc_154.d @ 1104:81fd116b5dc9

Removed plain wrong note from ldc.conf.in, I never implemented that!
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 12 Mar 2009 21:04:27 +0100
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");
	   }