Bug 8299 – segfault on incorrect (?) module declaration
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-25T23:42:00Z
Last change time
2012-12-26T15:41:59Z
Keywords
ice
Assigned to
nobody
Creator
tobias
Comments
Comment #0 by tobias — 2012-06-25T23:42:07Z
testA.d
---
import testB;
void main {}
---
testB.d
---
module testB.testB;
---
Let testA.d and testB.d reside in the same directory, than
dmd testA.d testB.d segfaults with DMD 2.59.
Comment #1 by andrej.mitrovich — 2012-12-26T15:41:59Z
In 2.061:
testA.d(1): Error: can only import from a module, not from package testB