Mercurial > projects > dstress
view nocompile/a/assert_14_F.d @ 858:3446efc90696
Don Clugston <dac@nospam.com.au>
2006-02-22
news:dthlsr$1t9a$1@digitaldaemon.com
author | thomask |
---|---|
date | Fri, 24 Feb 2006 05:37:40 +0000 |
parents | |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Don Clugston <dac@nospam.com.au> // @date@ 2006-02-22 // @uri@ news:dthlsr$1t9a$1@digitaldaemon.com // __DSTRESS_ELINE__ 16 module dstress.nocompile.a.assert_14_F; template cat(){ static if(1){ static if(1){ static assert(0); const int cat = 3; } } } static assert(cat!() == 3);