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

           Summary: pure nothrow unittest problem in generated 'header'
                    file
           Product: D
           Version: D2
          Platform: x86
        OS/Version: All
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-05-10 17:20:55 PDT ---
A problem shown in the latest DMD2.060alpha, in the file:
...\dmd2\src\druntime\src\core\atomic.d
...\druntime\import\core\atomic.di


A D2 test program:

version(unittest) {
    pure nothrow unittest {}
    pure nothrow unittest {}
}
void main() {}



Using:

dmd -H test.d


It generates this, that seems wrong:

// D import file generated from 'test.d'
version (unittest)
{
    nothrow pure 
    nothrow pure 
}
void main()
{
}

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

Reply via email to