[Issue 9714] New: Ddoc: Combination of -D and -unittest reveals hidden unittest function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 14 01:15:12 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9714

           Summary: Ddoc: Combination of -D and -unittest reveals hidden
                    unittest function
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-03-14 01:15:11 PDT ---
/// test
void fooNoDescription() {}
///
unittest { fooNoDescription(); }


Command:
$ dmd -unittest -D test


Output:

test

void fooNoDescription();
desc

Example:
fooNoDescription(); 


void __unittestL4_1();    <---- bug

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list