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

           Summary: Unittests and assert don't work at all
           Product: D
           Version: 1.050
          Platform: x86_64
        OS/Version: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: uewyr...@sogetthis.com


--- Comment #0 from uewyr...@sogetthis.com 2009-10-31 14:43:31 PDT ---
Executables compiled with dmd -unittest don't run unit tests at all.

assert() is checked at compile time (i.e. assert(0) triggers warnings about
unreachable code), but has no effect at run time (tried compiling with -debug).

Both 1.050 and 1.048 fail on Snow Leopard (32-bit kernel mode). 2.035 with same
code, same switches runs the tests.

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

Reply via email to