Mercurial > projects > dstress
view undefined/float_literal_01_D.d @ 1589:c82cb55ee1ea
Fix module headers.
Move static_34_A to nocompile: cannot call new for a nested class within a static function.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 25 Aug 2008 22:05:07 +0200 |
parents | b0dd3e91e54b |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Unknown W. Brackets <unknown@simplemachines.org> // @date@ 2006-03-04 // @uri@ news:dud1s0$icq$1@digitaldaemon.com module dstress.undefined.float_literal_01_D; int _1; void main(){ static if(is(typeof(_1.) == double)){ pragma(msg, "lex.html#floatliteral"); }else{ pragma(msg, "should fail to compile"); } }