Mercurial > projects > dstress
view nocompile/a/assert_14_C.d @ 1582:dbaec0ee5d40
[Issue 1850] New: The compiler accepts lower case asm registers.
<aziz.kerim@gmail.com>
2007-02-18
http://d.puremagic.com/issues/show_bug.cgi?id=1850
author | thomask |
---|---|
date | Fri, 22 Feb 2008 07:55:01 +0000 |
parents | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Don Clugston <dac@nospam.com.au> // @date@ 2006-02-22 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6340 // __DSTRESS_ELINE__ 15 module dstress.nocompile.a.assert_14_C; template cat(){ static if(1){ static assert(0); const int cat = 3; } } static assert(cat!() == 3);