← Back to index
|
Original Bugzilla link
Bug 485 – struct sizeof not possible from type
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-11-07T18:50:00Z
Last change time
2014-02-15T13:22:07Z
Assigned to
bugzilla
Creator
benoit
Comments
Comment #0
by benoit — 2006-11-07T18:50:38Z
If a struct is defined in module module s; struct S{ int i; } int f(){ return S.sizeof; // OK } in the other module module t; import s; int g(){ return S.sizeof; // error }
Comment #1
by bugzilla — 2006-11-24T20:06:49Z
Not reproducible with DMD 0.174.