www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - assert fail in expression.c line 525

reply Don Clugston <dac nospam.com.au> writes:
Short and sweet.
-------------
template dog(char [] sheep)
{
  const char [] dog = "daschund";
}

const char [] duck = dog!("bird"[1..3]);
-------------
Dec 06 2005
parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don Clugston schrieb am 2005-12-06:
 Short and sweet.
 -------------
 template dog(char [] sheep)
 {
   const char [] dog = "daschund";
 }

 const char [] duck = dog!("bird"[1..3]);
 -------------
Added to DStress as http://dstress.kuehne.cn/run/b/bug_expression_525_A.d http://dstress.kuehne.cn/run/b/bug_expression_525_B.d http://dstress.kuehne.cn/run/b/bug_expression_525_C.d http://dstress.kuehne.cn/run/b/bug_expression_525_D.d http://dstress.kuehne.cn/run/b/bug_expression_525_E.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDmlNk3w+/yD4P9tIRAiFLAKCjthHfXFT3acFQiYRTDZzIBjRN+wCeJk1L TNkRPsLPXxv+U8fVtguW/dc= =6wOV -----END PGP SIGNATURE-----
Dec 09 2005