Summary: Segfault using invalid case (D1 only)
           Product: D
           Version: 1.020
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: critical
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2010-02-04 05:36:47 PST ---
This code was correctly rejected in DMD1.010, but segfaults in 1.020 and later,
including 1.056. I'm intentionally not marking it as regression since it is
ancient and cannot exist in old code. Although this test case is D1 only, there
are related bugs in D2.
const int[ 19 ] buggy_3763 = [ 2 ];

void bugzilla3763()
  switch(2) {
    case buggy_3763[1]:

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to