www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2174] New: dstress test case typo and something not correct

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2174

           Summary: dstress test case typo and something not correct
           Product: D
           Version: 1.030
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dstress
        AssignedTo: thomas-dloop kuehne.cn
        ReportedBy: davidl 126.com


for a runnable test case, run/t/this_13_C.d misses interface declaration


Index: run/i/inline_16_C.d

===================================================================

--- run/i/inline_16_C.d (revision 1832)

+++ run/i/inline_16_C.d (working copy)

   -32,7 +32,7   

 }

 int main(){
-       Fooi2 f = new Foo2();
+       Foo2 f = new Foo2();

        if(status != 0){
                assert(0);
Index: run/t/this_13_C.d

===================================================================

--- run/t/this_13_C.d   (revision 1832)

+++ run/t/this_13_C.d   (working copy)

   -9,6 +9,10   


 module dstress.run.t.this_13_C;

+interface I {
+    void get( char[] s );
+}
+
 class C{
        void init(){
                I i = new class() {
Index: complex/linking/b.d

===================================================================

--- complex/linking/b.d (revision 1832)

+++ complex/linking/b.d (working copy)

   -7,9 +7,9   

 //  uri         news:cp2vjj$1ljt$1 digitaldaemon.com
 //  url         nntp://news.digitalmars.com/digitalmars.D.bugs

-module dstress.complex.linking.b;
+module /*dstress.*/complex.linking.b;

-import dstress.complex.linking.a;
+import /*dstress.*/complex.linking.a;

 void functB() {
        StructA!(int)* x;
Index: complex/linking/c.d

===================================================================

--- complex/linking/c.d (revision 1832)

+++ complex/linking/c.d (working copy)

   -7,10 +7,10   

 //  uri         news:cp2vjj$1ljt$1 digitaldaemon.com
 //  url         nntp://news.digitalmars.com/digitalmars.D.bugs

-module dstress.complex.linking.c;
+module /*dstress.*/complex.linking.c;

-import dstress.complex.linking.a;
-import dstress.complex.linking.b;
+import /*dstress.*/complex.linking.a;
+import /*dstress.*/complex.linking.b;

 void functC() {
        StructA!(int)* x;


-- 
Jun 25 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2174


kamm-removethis incasoftware.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from kamm-removethis incasoftware.de  2008-09-09 10:04
-------
Fixed in dsource-dstress 1598.


-- 
Sep 09 2008