Bug 110 – Assertion failure, Line 1135, expression.c

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-04-19T08:23:00Z
Last change time
2014-02-15T02:08:31Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
clugdbug

Comments

Comment #0 by clugdbug — 2006-04-19T08:23:38Z
This should fail to compile, but it ICEs. Only tested on DMD 0.153 Windows. ------- void * frog (void *); void main () { toad = frog(0); } -------
Comment #1 by thomas-dloop — 2006-04-20T01:15:17Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] schrieb am 2006-04-19: > This should fail to compile, but it ICEs. > Only tested on DMD 0.153 Windows. > > ------- > void * frog (void *); > > void main () { > toad = frog(0); > } > ------- Added to DStress as http://dstress.kuehne.cn/nocompile/b/bug_expression_1135_A.d http://dstress.kuehne.cn/nocompile/b/bug_expression_1135_B.d http://dstress.kuehne.cn/nocompile/b/bug_expression_1135_C.d http://dstress.kuehne.cn/nocompile/b/bug_expression_1135_D.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFERzPB3w+/yD4P9tIRAuFeAJ4+ff/Em3qBEZUwckF8u9WqT09y1QCeNp2x gBZLYFat+SNyVqSNsVz59TU= =Vi8U -----END PGP SIGNATURE-----
Comment #2 by bugzilla — 2006-05-25T04:20:41Z
Fixed 0.158