[Issue 2533] compiler falls with "assertion failed" message on wrong code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 11 15:03:38 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2533


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
           Keywords|                            |ice-on-invalid-code




------- Comment #1 from smjg at iname.com  2009-01-11 17:03 -------
Doesn't crash for me, but produces (Windows):

----- 1.039 -----
bz2533.d(11): Error: bz2533.S.c!().a at bz2533.d(5) conflicts with
bz2533.S.c!().a at bz2533.d(5)
bz2533.d(11): Error: bz2533.S.c!().a at bz2533.d(5) conflicts with
bz2533.S.c!().a at bz2533.d(5)
----- 2.023 -----
bz2533.d(11): Error: overload set for res.a not allowed in struct declaration
bz2533.d(11): Error: function expected before (), not 0 of type int
bz2533.d(11): Error: overload set for res.a not allowed in struct declaration
bz2533.d(11): Error: function expected before (), not 0 of type int
----------

Can you still reproduce on Linux?


-- 



More information about the Digitalmars-d-bugs mailing list