Mercurial > projects > dstress
diff nocompile/opCmp_02.d @ 85:659bb018c489
1) changed "?DSTRESS_FLAGS?" to "__DSTRESS_DFLAGS__" in order to cope with botched shells
2) added several bug reports
3) fixed some test cases
author | thomask |
---|---|
date | Sun, 31 Oct 2004 21:21:04 +0000 |
parents | |
children | a33ad7189d21 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/opCmp_02.d Sun Oct 31 21:21:04 2004 +0000 @@ -0,0 +1,18 @@ +// @author@ Derek Parnell <derek@psych.ward> +// @date@ 2004-10-12 +// @uri@ news://ckfav3$2gbv$1@digitaldaemon.com +// @url@ nttp://digitalmars.com/digitalmars.D.bugs:2080 + +module dstress.nocompile.opCmp_02; + +struct MyStruct{ +} + +int main(){ + MyStruct a; + MyStruct b; + if(a < b){ + // complain about missing opCmp + } + return 0; +}