Mercurial > projects > dstress
annotate run/mixin_06.d @ 299:da96294e4233
post Sinai part 1/3
author | thomask |
---|---|
date | Fri, 11 Mar 2005 23:50:05 +0000 |
parents | |
children | 52c9e86b6486 |
rev | line source |
---|---|
299 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Ilya Zaitseff <sark7@mail333.com> | |
6 // @date@ 2005-02-22 | |
7 // @uri@ news:opsmlwgpo1aaezs2@robingood | |
8 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3034 | |
9 | |
10 module dstress.run.mixin_06; | |
11 | |
12 struct S{ | |
13 int x; | |
14 } | |
15 | |
16 const S s = { x:2 }; | |
17 | |
18 int main(){ | |
19 assert(s.x==2); | |
20 return 0; | |
21 } |