Mercurial > projects > dstress
view run/t/template_24_J.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Don Clugston <dac@nospam.com.au> // @date@ 2006-01-12 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6003 module dstress.run.t.template_24_J; template dolphin(char [] fish){ const char [] dolphin = fish[0 .. 3]; } const char[] urchin = dolphin!("anemone"); int main(){ static assert(urchin == "ane"); return 0; }