Mercurial > projects > dstress
view undefined/float_literal_01_C.d @ 1562:539ede0215a4
r8715@birke: tk | 2007-09-29 23:52:45 +0200
[Issue 1534] Can't mix in a case statement.
<aziz.kerim@gmail.com>
2007-09-26
http://d.puremagic.com/issues/show_bug.cgi?id=1534
author | thomask |
---|---|
date | Sun, 30 Sep 2007 09:44:14 +0000 |
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_C; int _; void main(){ static if(is(typeof(_.) == double)){ pragma(msg, "lex.html#floatliteral"); }else{ pragma(msg, "should fail to compile"); } }