← Back to index
|
Original Bugzilla link
Bug 32 – missing return value and no compile error
Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-03-10T07:39:00Z
Last change time
2014-02-15T02:08:43Z
Assigned to
braddr
Creator
benoit
Comments
Comment #0
by benoit — 2006-03-10T07:39:51Z
Compiles without error. int f() { } void main() { f(); }
Comment #1
by bugzilla — 2006-03-10T13:06:50Z
This is by design, not a bug. There have been some looong threads arguing about this. Note that it gets a runtime error if it is executed.
Comment #2
by smjg — 2007-03-21T11:59:45Z
*** This bug has been marked as a duplicate of 180 ***