Mercurial > projects > dstress
annotate nocompile/opCmp_02.d @ 140:a33ad7189d21
1) news:// -> news:
2) nttp://.../...:... -> nntp://.../.../...
3) added missing mime types
4) added line ending styles
5) added missing keywords
author | thomask |
---|---|
date | Tue, 16 Nov 2004 16:00:10 +0000 |
parents | 659bb018c489 |
children | f87ba6507260 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
5 // @author@ Derek Parnell <derek@psych.ward> |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
6 // @date@ 2004-10-12 |
140 | 7 // @uri@ news:ckfav3$2gbv$1@digitaldaemon.com |
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2080 | |
85
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
9 |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
10 module dstress.nocompile.opCmp_02; |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
11 |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
12 struct MyStruct{ |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
13 } |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
14 |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
15 int main(){ |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
16 MyStruct a; |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
17 MyStruct b; |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
18 if(a < b){ |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
19 // complain about missing opCmp |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
20 } |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
21 return 0; |
659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
thomask
parents:
diff
changeset
|
22 } |