Mercurial > projects > dstress
annotate undefined/float_literal_01_A.d @ 901:b0dd3e91e54b
Unknown W. Brackets <unknown@simplemachines.org>
2006-03-04
news:dud1s0$icq$1@digitaldaemon.com
author | thomask |
---|---|
date | Thu, 09 Mar 2006 21:50:32 +0000 |
parents | |
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_A; | |
10 | |
11 int _1; | |
12 | |
13 void main(){ | |
14 static if(is(typeof(._1) == int)){ | |
15 pragma(msg, "module.html (Module Scope Operator)"); | |
16 } | |
17 | |
18 static if(is(typeof(._1) == double)){ | |
19 pragma(msg, "lex.html#floatliteral"); | |
20 } | |
21 } |