Mercurial > projects > dstress
annotate nocompile/array_initialization_04.d @ 338:1f6cf5ccfbc9
1) updated rules to dmd-0.119
2) added __DSTRESS_ELINE__ tags
author | thomask |
---|---|
date | Mon, 21 Mar 2005 20:45:57 +0000 |
parents | 67b55a6891a1 |
children | 9a121126b077 |
rev | line source |
---|---|
165
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
2 // $Date$ |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
3 // $Author$ |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
4 |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
5 // @author@ Lionello Lunesu <lionello.lunesu@crystalinter.remove.com> |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
6 // @date@ 2004-11-30 |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
7 // @uri@ news:cohvnb$1eil$1@digitaldaemon.com |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
8 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2383 |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
9 |
338 | 10 // __DSTRESS__ELINE__ 19 |
11 | |
165
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.array_initialization_04; |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
13 |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
14 void test(size_t size){ |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
15 } |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
16 |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
17 int main(){ |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
18 for (int t=0; t<33; t++){ |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
19 test((bit[t]).sizeof); |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
20 } |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
21 return 0; |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
22 } |
67b55a6891a1
Lionello Lunesu <lionello.lunesu@crystalinter.remove.com>
thomask
parents:
diff
changeset
|
23 |