www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13385] New: ICE with new package(names) protection

https://issues.dlang.org/show_bug.cgi?id=13385

          Issue ID: 13385
           Summary: ICE with new package(names) protection
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

Following code segfaults git-head dmd.

test.d
---
//module test;
package(a) void foo() {}
---

Enabling ModuleDeclaration does not fix the issue.

--
Aug 27 2014