Mercurial > projects > dstress
annotate undefined/float_literal_01_D.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | b0dd3e91e54b |
children |
rev | line source |
---|---|
901 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Unknown W. Brackets <unknown@simplemachines.org> | |
6 // @date@ 2006-03-04 | |
7 // @uri@ news:dud1s0$icq$1@digitaldaemon.com | |
8 | |
9 module dstress.undefined.float_literal_01_D; | |
10 | |
11 int _1; | |
12 | |
13 void main(){ | |
14 static if(is(typeof(_1.) == double)){ | |
15 pragma(msg, "lex.html#floatliteral"); | |
16 }else{ | |
17 pragma(msg, "should fail to compile"); | |
18 } | |
19 } |