Mercurial > projects > dstress
changeset 338:1f6cf5ccfbc9
1) updated rules to dmd-0.119
2) added __DSTRESS_ELINE__ tags
line wrap: on
line diff
--- a/nocompile/__DATE__02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/__DATE__02.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,6 +2,8 @@ // $Date$ // $Author$ +// __DSTRESS_ELINE__ 10 + module dstress.nocompile.__DATE__02; void test(){
--- a/nocompile/abstract_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/abstract_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cqvnro$26ul$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2624 +// __DSTRESS__ELINE__ 15 + module dstress.nocompile.abstract_05; class Base{
--- a/nocompile/abstract_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/abstract_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cj0qf6$2u2v$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/1940 +// __DSTRESS__ELINE__ 18 + module dstress.nocompile.abstract_06; abstract class A{
--- a/nocompile/abstract_08.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/abstract_08.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cj0qf6$2u2v$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/1940 +// __DSTRESS__ELINE__ 20 + module dstress.nocompile.abstract_08; class A{
--- a/nocompile/abstract_09.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/abstract_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:miglg2-ph5.ln1@lnews.kuehne.cn // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3196 +// __DSTRESS__ELINE__ 15 + module dstress.nocompile.abstract_09; class A{
--- a/nocompile/abstract_11.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/abstract_11.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:miglg2-ph5.ln1@lnews.kuehne.cn // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3196 +// __DSTRESS__ELINE__ 14 + module dstress.nocompile.abstract_11; abstract int a;
--- a/nocompile/abstract_12.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/abstract_12.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:miglg2-ph5.ln1@lnews.kuehne.cn // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3196 +// __DSTRESS__ELINE__ 14 + module dstress.nocompile.abstract_12; abstract struct MyStruct{
--- a/nocompile/alias_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/alias_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS__ELINE__ 12 + module dstress.nocompile.alias_05; alias int myint;
--- a/nocompile/alias_17.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/alias_17.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:opsl6xrbnaaaezs2@robingood // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2983 +// __DSTRESS__ELINE__ 18 + module dstress.nocompile.alias_17; void test(){
--- a/nocompile/align_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/align_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS__ELINE__ 8 + struct MyStruct{ align (-1) int check; }
--- a/nocompile/argument_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/argument_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // multiple arguments with same name +// __DSTRESS__ELINE__ 11 + module dstress.nocompile.argument_01; int test(int t, int t){
--- a/nocompile/argument_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/argument_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // multiple arguments with same name +// __DSTRESS__ELINE__ 11 + module dstress.nocompile.argument_02; int test(int t, char t){
--- a/nocompile/array_initialization_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/array_initialization_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cohvnb$1eil$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2383 +// __DSTRESS__ELINE__ 19 + module dstress.nocompile.array_initialization_04; void test(size_t size){
--- a/nocompile/assert_03.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/assert_03.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS__ELINE__ 10 + +module dstress.nocompile.assert_03; int main(){ static assert(0);
--- a/nocompile/associative_array_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/associative_array_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS__ELINE__ 11 + +module dstress.nocompile.associative_array_01; int main(){ int[int] k;
--- a/nocompile/associative_array_03.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/associative_array_03.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,6 +2,8 @@ // $Date$ // $Author$ +// __DSTRESS_ELINE__ 13 + module dstress.nocompile.associative_array_03; int main(){
--- a/nocompile/associative_array_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/associative_array_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,6 +2,8 @@ // $Date$ // $Author$ +// __DSTRESS_ELINE__ 13 + module dstress.nocompile.associative_array_04; int main(){
--- a/nocompile/associative_array_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/associative_array_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,8 +1,14 @@ -// @author@ Anders F Björklund <afb@algonet.se> +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Anders F Bj�klund <afb@algonet.se> // @date@ 2004-12-19 // @uri@ news://cq2h5u$2n99$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D/13868 +// __DSTRESS_ELINE__ 19 + module dstress.nocompile.associative_array_05; int main(){
--- a/nocompile/associative_array_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/associative_array_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // void is an illegal KeyType +// __DSTRESS_ELINE__ 12 + module dstress.nocompile.associative_array_06; int main(){
--- a/nocompile/bit_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bit_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,5 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_DFLAGS__ 10 + +module dstress.nocompile.bit_02; int main(){ - bit b = 2, + bit b = 2; return 0; }
--- a/nocompile/bounds_checking_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bounds_checking_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.bounds_checking_01; + int main(){ byte[5] a; a[100]=3;
--- a/nocompile/break_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/break_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,6 +2,8 @@ // $Date$ // $Author$ +// __DSTRESS_ELINE__ 15 + module dstress.nocompile.break_06; int main(){
--- a/nocompile/break_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/break_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,9 +2,10 @@ // $Date$ // $Author$ +// __DSTRESS_ELINE__ 10 + module dstress.nocompile.break_07; -int main(){ +void test(){ break; - return 0; }
--- a/nocompile/bug_cgcod_1464.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_cgcod_1464.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:ce0vvh$2j71$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1106 +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.bug_cgcod_1464; int main (){
--- a/nocompile/bug_cgcs_353.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_cgcs_353.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:opr9c6ny1b5a2sq9@digitalmars.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/438 +// __DSTRESS_ELINE__ 21 + module dstress.nocompile.bug_cgcs_353; struct Bug {
--- a/nocompile/bug_cgcs_353_B.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_cgcs_353_B.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:ctf9mg$1ieg$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D/15319 +// __DSTRESS_ELINE__ 15 + module dstress.nocompile.bug_cgcs_353_B; int main(char[][]args){
--- a/nocompile/bug_cod4_352.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_cod4_352.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cc8qdr$oe8$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/700 +// __DSTRESS_ELINE__ 17 + module dstress.nocompile.bug_cod4_352; int main(){
--- a/nocompile/bug_cod4_352_B.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_cod4_352_B.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-02-26 // @uri@ news:cvq9fq$qir$1@digitaldaemon.com +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.bug_cod4_352_B; void check(){
--- a/nocompile/bug_dsymbol_611_A.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_dsymbol_611_A.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cqml2m$1ujj$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2604 +// __DSTRESS_ELINE__ 18 + module dstress.nocompile.bug_dsymbol_611_A; interface INode{
--- a/nocompile/bug_dsymbol_611_B.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_dsymbol_611_B.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cqml2m$1ujj$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2604 +// __DSTRESS_ELINE__ 18 + module dstress.nocompile.bug_dsymbol_611_B; interface INode{
--- a/nocompile/bug_dsymbol_611_D.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_dsymbol_611_D.d Mon Mar 21 20:45:57 2005 +0000 @@ -5,6 +5,8 @@ // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> // @date@ 2005-01-19 +// __DSTRESS_ELINE__ 19 + module dstress.nocompile.bug_dsymbol_611_D; struct Struct{
--- a/nocompile/bug_e2ir_814.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_e2ir_814.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,15 +7,12 @@ // @uri@ news:cmd9i4$16g5$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D/12279 -// Note: -// this crashs dmd-0.106 but results in the pseudo return code 1, -// thus DStress can't detect this bug directly. Instead the compiler -// output is parsed for "Internal error"(dmd) and "gcc.gnu.org/bugs"(gdc/gcc) +// __DSTRESS_ELINE__ 17 static void dummy(...){ } -class Foo : Object{ +class Foo{ static this(){ Foo.display_name(); }
--- a/nocompile/bug_expression_1147.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_expression_1147.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:opsdldgki75a2sq9@digitalmars.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1685 +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.bug_expression_1147; template A(Type : Type[]){
--- a/nocompile/bug_mtype_2576_B.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_2576_B.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:opsfwrktdm44buww@simon.mshome.net // @url@ nntp://digitalmars.com digitalmars.D.bugs/2114 +// __DSTRESS_ELINE__ 17 + module dstress.nocompile.bug_mtype_2576_B; const char[] B = ['A'];
--- a/nocompile/bug_mtype_3154.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_3154.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:c6ullo$104s$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/48 +// __DSTRESS_ELINE__ 51 + module dstress.nocompile.bug_mtype_3154; struct vec(VALUE, int size){ @@ -48,6 +50,5 @@ a[1]=3; b=a.T(float4).castTo();// <-- taking out this line stops the error -// printf ("%f\n",b[1000]); return 0; }
--- a/nocompile/bug_mtype_507_A.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_507_A.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:csvvet$2g4$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2741 +// __DSTRESS_ELINE__ 17 + module dstress.nocompile.bug_mtype_507_A; int main(){
--- a/nocompile/bug_mtype_507_B.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_507_B.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:csvvet$2g4$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2741 +// __DSTRESS_ELINE__ 21 + module dstress.nocompile.bug_mtype_507_B; struct Struct{
--- a/nocompile/bug_mtype_507_C.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_507_C.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-02-03 // @uri@ news:ctthp6$25b$1@digitaldaemon.com +// __DSTRESS_ELINE__ 14 + module dstress.nocompile.bug_mtype_507_C; void test(){
--- a/nocompile/bug_mtype_507_D.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_507_D.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-02-03 // @uri@ news:cttjjg$4i0$2@digitaldaemon.com +// __DSTRESS_ELINE__ 14 + module dstress.nocompile.bug_mtype_507_D; void test(){
--- a/nocompile/bug_mtype_507_E.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_507_E.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-02-03 // @uri@ news:cttjjg$4i0$2@digitaldaemon.com +// __DSTRESS_ELINE__ 14 + module dstress.nocompile.bug_mtype_507_E; void test(){
--- a/nocompile/bug_mtype_507_F.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_mtype_507_F.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-02-03 // @uri@ news:cttjjg$4i0$2@digitaldaemon.com +// __DSTRESS_ELINE__ 14 + module dstress.nocompile.bug_mtype_507_F; void test(){
--- a/nocompile/bug_s2ir_458.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_s2ir_458.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cm3gas$1il0$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2166 +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.bug_s2ir_458; void main(){
--- a/nocompile/bug_template_1455_A.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/bug_template_1455_A.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cvg5mn$19lb$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3035 +// __DSTRESS_ELINE__ 17 + module dstress.nocompile.bug_template_1455_A; class Foo(T) {
--- a/nocompile/byte_09.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/byte_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.byte_09; int main(){ byte b;
--- a/nocompile/byte_10.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/byte_10.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.byte_10; int main(){ byte b;
--- a/nocompile/case_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/case_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cunl9i$15r2$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2966 +// __DSTRESS_ELINE__ 22 + module dstress.nocompile.case_01; char[] getString(){
--- a/nocompile/case_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/case_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cunl9i$15r2$1@digitaldaemon.com // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2966 +// __DSTRESS_ELINE__ 21 + module dstress.nocompile.case_02; char[] getString(){
--- a/nocompile/cast_03.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/cast_03.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,6 +6,9 @@ // @date@ 2004-08-16 // @uri@ news:cfpk7u$1qgs$1@digitaldaemon.com +// __DSTRESS_ELINE__ 27 + +module dstress.nocompile.cast_03; interface MyInterface{ }
--- a/nocompile/cast_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/cast_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cejsno$2g2s$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1238 +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.cast_04; int main(){
--- a/nocompile/cast_19.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/cast_19.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,6 +6,8 @@ // @date@ 2005-02-05 // @uri@ news:cu1tku$18h6$1@digitaldaemon.com +// __DSTRESS_ELINE__ 19 + module dstress.nocompile.cast_19; class MyClass{
--- a/nocompile/cast_23.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/cast_23.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,7 +6,7 @@ // @date@ 2005-03-18 // @uri@ news:d1d4lc$25e2$1@digitaldaemon.com -// __DSTRESS_ERROR__ 16 +// __DSTRESS_ELINE__ 16 module dstress.nocompile.cast_23;
--- a/nocompile/cast_24.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/cast_24.d Mon Mar 21 20:45:57 2005 +0000 @@ -6,7 +6,7 @@ // @date@ 2005-03-18 // @uri@ news:d1d4lc$25e2$1@digitaldaemon.com -// __DSTRESS_ERROR__ 16 +// __DSTRESS_ELINE__ 16 module dstress.nocompile.cast_24;
--- a/nocompile/cent_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/cent_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // cent is reserved for 128bit integers +// __DSTRESS_ELINE__ 11 + module dstress.nocompile.cent_01; int cent;
--- a/nocompile/char_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/char_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.char_01; int main(){ char a;
--- a/nocompile/char_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/char_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.char_02; int main(){ char a;
--- a/nocompile/char_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/char_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 9 + module dstress.nocompile.char_04; char c = 0x100;
--- a/nocompile/char_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/char_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 9 + module dstress.nocompile.char_05; char c = -1;
--- a/nocompile/class_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/class_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:opr90q0zkf5a2sq9@digitalmars.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/574 +// __DSTRESS_ELINE__ 20 + module dstress.nocompile.class_04; interface A {
--- a/nocompile/class_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/class_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:opr90qshx15a2sq9@digitalmars.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/573 +// __DSTRESS_ELINE__ 17 + module dstress.nocompile.class_05; interface HashImpl(D) {
--- a/nocompile/class_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/class_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // anonymous classes not allowed +// __DSTRESS_ELINE__ 11 + module dstress.nocompile.class_07; class {
--- a/nocompile/command_line_debug_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_debug_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -debug=1A module stress.run.command_line_debug_05;
--- a/nocompile/command_line_debug_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_debug_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -debug123 module stress.run.command_line_debug_06;
--- a/nocompile/command_line_debug_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_debug_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -debugabc module stress.run.command_line_debug_06;
--- a/nocompile/command_line_debug_09.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_debug_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -debug= module dstress.nocompile.command_line_debug_09;
--- a/nocompile/command_line_deprecated_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_deprecated_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -dblah module stress.nocompile.command_line_deprecated_02;
--- a/nocompile/command_line_version_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version module dstress.nocompile.command_line_version_04;
--- a/nocompile/command_line_version_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=1A module dstress.nocompile.command_line_version_05;
--- a/nocompile/command_line_version_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version123 module dstress.nocompile.command_line_version_06;
--- a/nocompile/command_line_version_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -versionabc module dstress.nocompile.command_line_version_07;
--- a/nocompile/command_line_version_08.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_08.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=X86 -version=AMD64 module dstress.nocompile.command_line_version_08;
--- a/nocompile/command_line_version_09.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=linux -version=Windows module dstress.nocompile.command_line_version_09;
--- a/nocompile/command_line_version_10.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_10.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=none module dstress.nocompile.command_line_version_10;
--- a/nocompile/command_line_version_11.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_11.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=Win32 -version=Win64 module dstress.nocompile.command_line_version_11;
--- a/nocompile/command_line_version_12.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_12.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=Win32 -version=linux module dstress.nocompile.command_line_version_12;
--- a/nocompile/command_line_version_13.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_13.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=Win64 -version=linux module dstress.nocompile.command_line_version_13;
--- a/nocompile/command_line_version_14.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_14.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=LittleEndian -version=BigEndian module dstress.nocompile.command_line_version_14;
--- a/nocompile/command_line_version_15.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_15.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=D_InlineAsm module dstress.nocompile.command_line_version_15;
--- a/nocompile/command_line_version_16.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_16.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=all module dstress.nocompile.command_line_version_16;
--- a/nocompile/command_line_version_17.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/command_line_version_17.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,7 @@ +// $HeadURL$ +// $Date$ +// $Author$ + // __DSTRESS_DFLAGS__ -version=DigitalMars module dstress.nocompile.command_line_version_17;
--- a/nocompile/comment_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/comment_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.comment_07; + int main(){ /* // */ static assert(0);
--- a/nocompile/comment_08.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/comment_08.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.comment_08; + int main(){ /+ // +/ static assert(0);
--- a/nocompile/const_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/const_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // altering a constant +// __DSTRESS_ELINE__ 14 + module dstress.nocompile.const_02; const int i = 9;
--- a/nocompile/const_03.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/const_03.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // altering a constant value +// __DSTRESS__ELINE__ 14 + module dstress.nocompile.const_03; const int i = 9;
--- a/nocompile/const_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/const_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // constant loop +// __DSTRESS_ELINE__ 11 + module dstress.nocompile.const_04; const int a = b+1;
--- a/nocompile/const_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/const_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // Object allocation at compiletime is impossible +// __DSTRESS_ELINE__ 11 + module dstress.nocompile.const_07; const Object o = new Object();
--- a/nocompile/const_08.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/const_08.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // struct allocation at compiletime is impossible +// __DSTRESS_ELINE__ 15 + module dstress.nocompile.const_08; struct MyStruct{
--- a/nocompile/const_09.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/const_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // union allocation at compiletime is impossible +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.const_07; union MyUnion{
--- a/nocompile/const_11.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/const_11.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,6 +2,8 @@ // $Date$ // $URL$ +// __DSTRESS_ELINE__ 14 + module dstress.nocompile.const_11; struct MyStruct{
--- a/nocompile/constructor_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/constructor_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:opsg7zgbjdaaezs2@ilya.tec.amursk.ru // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2238 +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.constructor_05; class Class{
--- a/nocompile/dchar_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/dchar_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.dchar_01; int main(){ wchar a;
--- a/nocompile/dchar_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/dchar_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.dchar_02; int main(){ dchar a;
--- a/nocompile/dchar_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/dchar_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,9 +2,8 @@ // $Date$ // $Author$ +// __DSTRESS_ELINE__ 9 + module dstress.nocompile.dchar_04; -int main(){ - wchar c = 0x110000; // dchar.max+1 - return 0; -} +wchar c = 0x110000; // dchar.max+1
--- a/nocompile/dchar_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/dchar_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,9 +2,8 @@ // $Date$ // $Author$ +// __DSTRESS_ELINE__ 9 + module dstress.nocompile.dchar_06; -int main(){ - wchar c = -1; // dchar.min-1 - return 0; -} +wchar c = -1; // dchar.min-1
--- a/nocompile/default_argument_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/default_argument_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:cnaidd$2rnr$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2275 +// __DSTRESS_ELINE__ 16 + module dstress.nocompile.default_argument_05; template Template(int L){
--- a/nocompile/delegate_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // delegates can't be initialized with non-member functions +// __DSTRESS_ELINE__ 17 + module dstress.nocompile.delegate_02; int test(){
--- a/nocompile/delegate_03.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_03.d Mon Mar 21 20:45:57 2005 +0000 @@ -5,6 +5,8 @@ // delegates can't be initialized with static member functions or // non-member functions +// __DSTRESS_ELINE__ 22 + module dstress.nocompile.delegate_03; struct MyStruct{
--- a/nocompile/delegate_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -5,6 +5,8 @@ // delegates can't be initialized with static member functions or // non-member functions +// __DSTRESS_ELINE__ 22 + module dstress.nocompile.delegate_05; class MyClass{
--- a/nocompile/delegate_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // delegates can only be initialized with non-static member functions +// __DSTRESS_ELINE__ 19 + module dstress.nocompile.delegate_07; struct MyStruct{
--- a/nocompile/delegate_08.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_08.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // delegates can only be initialized with non-static member functions +// __DSTRESS_ELINE__ 19 + module dstress.nocompile.delegate_08; class MyClass{
--- a/nocompile/delegate_09.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // delegates can only be initialized with non-static member functions +// __DSTRESS_ELINE__ 19 + module dstress.nocompile.delegate_09; enum MyEnum{
--- a/nocompile/delegate_10.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_10.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // delegates can only be initialized with non-static member functions +// __DSTRESS_ELINE__ 20 + module dstress.nocompile.delegate_10; union MyUnion{
--- a/nocompile/delegate_11.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/delegate_11.d Mon Mar 21 20:45:57 2005 +0000 @@ -4,6 +4,8 @@ // delegates can only be initialized with non-static member functions +// __DSTRESS_ELINE__ 22 + module dstress.nocompile.delegate_11; union MyUnion{
--- a/nocompile/deprecated_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/deprecated_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 13 + +module dstress.nocompile.deprecated_01; deprecated void test(){ }
--- a/nocompile/deprecated_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/deprecated_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.deprecated_02; deprecated class MyClass{ }
--- a/nocompile/deprecated_03.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/deprecated_03.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 13 + +module dstress.nocompile.deprecated_03; deprecated class MyClass{ }
--- a/nocompile/deprecated_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/deprecated_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.deprecated_04; class MyClass{ this(int a){
--- a/nocompile/deprecated_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/deprecated_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.deprecated_05; class MyClass{ deprecated this(char[] c){
--- a/nocompile/deprecated_11.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/deprecated_11.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,9 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 13 + module dstress.nocompile.deprecated_11; int a = 2;
--- a/nocompile/double_14.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_14.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,5 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.double_14; int main(){ int i = double.size; - retrun 0; + return 0; }
--- a/nocompile/double_15.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_15.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.double_15; int main(){ int i = double.sign;
--- a/nocompile/double_16.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_16.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.double_16; int main(){ double f;
--- a/nocompile/double_17.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_17.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.double_17; int main(){ double f;
--- a/nocompile/double_18.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_18.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.double_18; int main(){ double f;
--- a/nocompile/double_19.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_19.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.double_19; int main(){ double f;
--- a/nocompile/double_20.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_20.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.double_20; int main(){ double f;
--- a/nocompile/double_21.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_21.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,10 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.double_21; int main(){ double f;
--- a/nocompile/double_quoted_string_12.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_quoted_string_12.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.double_quoted_string_12; + int main(){ char[] string="\A"; return 0;
--- a/nocompile/double_quoted_string_13.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_quoted_string_13.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.double_quoted_string_13; + int main(){ char[] string="\B"; return 0;
--- a/nocompile/double_quoted_string_14.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_quoted_string_14.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.double_quoted_string_14; + int main(){ char[] string="\c"; return 0;
--- a/nocompile/double_quoted_string_15.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_quoted_string_15.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,4 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.double_quoted_string_15; + int main(){ - char[] string="\c"; + char[] string="\C"; return 0; }
--- a/nocompile/double_quoted_string_16.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/double_quoted_string_16.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.double_quoted_string_16; + int main(){ char[] string="\!"; return 0;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 13 + +module dstress.nocompile.finally_02; + +void test(){ + try{ + goto label; + }finally{ +label: + int dummy; + dummy++; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_03.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 12 + +module dstress.nocompile.finally_03; + +void test(){ + goto labled; + + try{ + }finally{ +labled: + int dummy; + dummy++; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.finally_04; + +void test(){ + try{ + }finally{ + return; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.finally_05; + +void test(){ + + while(1){ + try{ + }finally{ + break; + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.finally_06; + +void test(){ + while(1){ + try{ + }finally{ + continue; + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.finally_07; + +void test(){ + try{ + }finally{ + goto label; + } +label: + return; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_08.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.finally_08; + +void test(){ + try{ + }finally{ + goto no_label; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/finally_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// A FinallyStatement may not contain any Catches. + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.finally_09; + +void test(){ + try{ + }finally{ + try{ + }catch{ + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/goto_12.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.goto_12; + +void test(){ + goto test; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/goto_13.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.goto_13; + +void test(){ + int check; + goto check; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/goto_14.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 10 + +module dstress.nocompile.goto_14; + +void test(){ + goto no_label; +}
--- a/nocompile/invariant_04.d Sun Mar 20 07:26:58 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> -// @date@ 2004-10-22 -// @uri@ news:clbr09$uc6$1@digitaldaemon.com -// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2140 - -// invariant is only allowed in classes (dmd-0.104 documentation) - -module dstress.nocompile.invariant_04; - -struct MyStruct{ - int i; - - void test(){ - } - - invariant{ - assert(0); - } -} - -int main(){ - MyStruct s; - s.test(); - return 0; -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/static_16.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ tetsuya <tetsuya_member@pathlink.com> +// @date@ 2004-10-30 +// @uri@ news:cm057b$13nu$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2165 + +module dstress.nocompile.static_16; + +class MyClass{ + static { + int x; + this() { + x=2; + } + } +} + +int main(){ + assert(MyClass.x==2); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/try_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,14 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.try_09; + +void test(){ + try{ + goto no_label; + }catch{ + } +}
--- a/nocompile/unittest_04.d Sun Mar 20 07:26:58 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -// according to dmd-0.105 documentation unittests are class member functions - -module dstress.nocompile.unittest_04; - -struct{ - unittest{ - } -}
--- a/nocompile/variadic_argument_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/variadic_argument_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -2,6 +2,8 @@ // $Date$ // $Author$ +// __DSTRESS__ELINE__ 9 + module dstress.nocompile.variadic_argument_01; int test( ... , int x){
--- a/nocompile/wchar_01.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/wchar_01.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,6 +1,13 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 11 + +module dstress.nocompile.wchar_01; int main(){ - char a; + wchar a; int i = a.size; return 0; }
--- a/nocompile/wchar_02.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/wchar_02.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,6 +1,13 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__11 + +module dstress.nocompile.wchar_02; int main(){ - char a; + wchar a; int i = a.sign; return 0; }
--- a/nocompile/wchar_04.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/wchar_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:olfr62-kjv.ln1@kuehne.cn // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2287 +// __DSTRESS_ELINE__ 15 + module dstress.nocompile.wchar_04; int main(){
--- a/nocompile/wchar_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/wchar_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -7,6 +7,8 @@ // @uri@ news:olfr62-kjv.ln1@kuehne.cn // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2287 +// __DSTRESS_ELINE__ 15 + module dstress.nocompile.wchar_06; int main(){
--- a/nocompile/with_05.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/with_05.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,13 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// has to be a class instance or struct reference + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.with_05; + class MyClass{ void test(){ byte b;
--- a/nocompile/with_06.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/with_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,13 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// has to be a class instance or struct reference + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.with_06; + class MyClass{ void test(){ char[] c="Inhalt";
--- a/nocompile/with_07.d Sun Mar 20 07:26:58 2005 +0000 +++ b/nocompile/with_07.d Mon Mar 21 20:45:57 2005 +0000 @@ -1,3 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.with_07; + class MyClass{ int test(){ return 3;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/char_06.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// check that char realy is unsigned + +module dstress.run.char_06; + +int main(){ + char a = '\xFB'; + ubyte b = 0xFBu; + + void* d = &a; + void* e = &b; + + assert(*(cast(byte*)(e)) == *(cast(byte*)(d))); + + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/constructor_09.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,43 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// Static constructors within a module are executed in the lexical order in which they appear. + +module dstress.run.constructor_09; + +bool init; +bool initA; +bool initB; + +static this(){ + assert(!init); + assert(!initA); + assert(!initB); + init=true; +} + +class A{ + static this(){ + assert(init); + assert(!initA); + assert(!initB); + initA=true; + } +} + +class B{ + static this(){ + assert(init); + assert(initA); + assert(!initB); + initB=true; + } +} + +int main(){ + assert(init); + assert(initA); + assert(initB); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/constructor_10.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,43 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// Static constructors within a module are executed in the lexical order in which they appear. + +module dstress.run.constructor_10; + +bool init; +bool initA; +bool initB; + +static this(){ + assert(!init); + assert(!initA); + assert(!initB); + init=true; +} + +class B{ + static this(){ + assert(init); + assert(!initA); + assert(!initB); + initB=true; + } +} + +class A{ + static this(){ + assert(init); + assert(!initA); + assert(initB); + initA=true; + } +} + +int main(){ + assert(init); + assert(initA); + assert(initB); + return 0; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/invariant_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,34 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> +// @date@ 2004-10-22 +// @uri@ news:clbr09$uc6$1@digitaldaemon.com +// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2140 + +// invariant for structs allowed since dmd-0.119 + +module dstress.run.invariant_04; + +bool tested; + +struct MyStruct{ + int i=1; + + void test(){ + } + + invariant{ + assert(i==1); + tested=true; + } +} + +int main(){ + MyStruct s; + assert(!tested); + s.test(); + assert(tested); + return 0; +}
--- a/run/static_16.d Sun Mar 20 07:26:58 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ tetsuya <tetsuya_member@pathlink.com> -// @date@ 2004-10-30 -// @uri@ news:cm057b$13nu$1@digitaldaemon.com -// @url@ nntp://digitalmars.com/digitalmars.D.bugs/2165 - -module dstress.run.static_16; - -class MyClass{ - static { - int x; - this() { - x=2; - } - } -} - -int main(){ - assert(MyClass.x==2); - return 0; -}
--- a/run/static_30.d Sun Mar 20 07:26:58 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// @author@ Lukas Pinkowski <Lukas.Pinkowski@web.de> -// @date@ 2005-03-08 -// @uri@ news:d0isvn$pb6$1@digitaldaemon.com - -module dstress.run.static_30; - -int status; - -class MyClass{ - static{ - this(){ - status=5; - } - } -} - -int main(){ - assert(status==5); - return 0; -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/unittest_04.d Mon Mar 21 20:45:57 2005 +0000 @@ -0,0 +1,23 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// unittests inside of structs allowed since dmd-0.118 + +// __DSTRESS_DFLAGS__ -unittest + +module dstress.run.unittest_04; + +bool tested; + +struct MyStruct{ + unittest{ + assert(!tested); + tested=true; + } +} + +int main(){ + assert(tested); + return 0; +}
--- a/todo.txt Sun Mar 20 07:26:58 2005 +0000 +++ b/todo.txt Mon Mar 21 20:45:57 2005 +0000 @@ -6,12 +6,18 @@ * update/check the Windows bat generator (./beta) dstress.c: -* add line check for error messages -* stop the pop-up for segfaulting test cases: use "createProcess" instead of "system" on MSWindows +* check messages: compile->generic, runtime->spezific&generic +* MSWindows: implement crashRun (stop pop-up for segfaulting test cases / createProcess) Benchmark: * integrate benchmark results: SciMark, cowell-shah, oopack, ackermann +Meta data: +* retag nocompile E-V +* retag compile A-Z +* retag run A-Z +* retag norun A-Z + Test cases: * keyword: asm * keyword: break (mutexes) @@ -60,7 +66,7 @@ * IEEE 754 tests -* class (?struct?) allocators +* class and struct (de)allocators * module initializers & destructors