779 – init.c:103: virtual Expression* VoidInitializer::toExpression(): Assertion `0' failed.

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 779 - init.c:103: virtual Expression* VoidInitializer::toExpression(): Assertion `0' failed.
Summary: init.c:103: virtual Expression* VoidInitializer::toExpression(): Assertion `0...
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: All All
: P3 normal
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
Reported: 2006年12月30日 09:51 UTC by Thomas Kühne
Modified: 2014年02月15日 13:22 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Thomas Kühne 2006年12月30日 09:51:05 UTC
(this is a variation of issue #628)
#
# typedef int T = 0x12_34_FF_56;
#
# void main(){
# T x = void;
# x = x.init;
# }
#
test case:
http://dstress.kuehne.cn/run/v/void_05_B.d 
Comment 1 Walter Bright 2007年01月03日 22:56:01 UTC
Fixed DMD 1.00


AltStyle によって変換されたページ (->オリジナル) /