Mercurial > projects > dstress
view undefined/float_literal_01_A.d @ 1628:c6ef09dfba4d
add mini test set from ldc project
author | Moritz Warning <moritzwarning@web.de> |
---|---|
date | Mon, 10 Jan 2011 19:47:18 +0100 |
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_A; int _1; void main(){ static if(is(typeof(._1) == int)){ pragma(msg, "module.html (Module Scope Operator)"); } static if(is(typeof(._1) == double)){ pragma(msg, "lex.html#floatliteral"); } }