[Issue 23366] New: compiler crash on assert(0) with bottom value as message
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Sep 24 11:25:12 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=23366
          Issue ID: 23366
           Summary: compiler crash on assert(0) with bottom value as
                    message
           Product: D
           Version: D2
          Hardware: Other
                OS: Other
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: Ajieskola at gmail.com
Compiled with a recent master DMD version, flags -preview=dip1000
-----------------------------
@safe void main(){assert(0, assert(0));}
-----------------------------
Trying to compile the above program crashes the compiler. This program should
compile, but crash at runtime.
--
    
    
More information about the Digitalmars-d-bugs
mailing list