view complex/error_message/error_message_01_C.d @ 755:fb70ca0d80ba

updated resutls of DMD-0.093 - 0.101, 0.104, 0.121, 0.140
author thomask
date Sun, 27 Nov 2005 09:50:46 +0000
parents
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Don Clugston <dac@nospam.com.au>
// @date@	2005-11-24
// @uri@	news:dm3rs0$2qit$1@digitaldaemon.com

module dstress.complex.error_message.error_message_01_C;

template a()
{
   const real val= 0x1p9;
}

template half(alias f)
{
   const real val = f.val/2;
}

template c(alias f)
{
    static if (f.val > 2.0)  const int val = c!( half!(f) ).val;
}

const int m = c!(a!()).val;