Mercurial > projects > dstress
annotate run/t/typedef_20_B.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 31cf6fcdd6d7 |
children |
rev | line source |
---|---|
1154
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
2 // $Date$ |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
3 // $Author$ |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
4 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
5 // @author@ Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl> |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
6 // @date@ 2006-09-27 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1154
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=378 |
1154
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c' |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
9 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
10 module dstress.run.t.typedef_20_B; |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
11 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
12 struct Ranged(T){ |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
13 T value; |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
14 } |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
15 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
16 typedef Ranged!(char) Degree; |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
17 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
18 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
19 int main(){ |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
20 Degree d; |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
21 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
22 if(d.value != 0xFF){ |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
23 assert(0); |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
24 } |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
25 |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
26 return 0; |
31cf6fcdd6d7
[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'
thomask
parents:
diff
changeset
|
27 } |