Mercurial > projects > dstress
annotate run/e/enum_44_D.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 9dcac8d4e97f |
children |
rev | line source |
---|---|
833 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Ant <duitoolkit@yahoo.ca> | |
6 // @date@ 2006-02-14 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6260 |
833 | 8 |
9 module dstess.run.e.enum_44_D; | |
10 | |
11 int main(){ | |
12 alias .hello hello; | |
13 | |
14 static assert(hello == 3); | |
15 static assert(.hello == 3); | |
1091 | 16 |
833 | 17 return 0; |
18 } | |
19 | |
20 enum{ | |
21 hello = 3 | |
22 } | |
23 |