view complex/error_message/error_message_01_A.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents fb70ca0d80ba
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_A;

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

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;