https://issues.dlang.org/show_bug.cgi?id=15002

--- Comment #3 from Vladimir Panteleev <thecybersha...@gmail.com> ---
(In reply to Iain Buclaw from comment #2)
> Regression?  Regression from what?  Wrong-code to ICE?  Valid to ICE?  ICE
> to another ICE?

>From expected error message, to expected error message + ICE:

C:\Temp\D\issues\15002> dver 2.063 dmd -o- test.d
test.d(11): Error: array index 5 is out of bounds g_3[0 .. 3]
test.d(11): Error: cannot use non-constant CTFE pointer in an initializer
'&(__error)[0u]'

C:\Temp\D\issues\15002> dver 2.064 dmd -o- test.d
(auto-correcting D version 2.064 to 2.064.2)
test.d(11): Error: array index 5 is out of bounds g_3[0 .. 3]
test.d(11): Error: array index 5 is out of bounds g_3[0 .. 3]
CTFE: ErrorExp in test.d(11)
Assertion failure: '0' on line 310 in file 'interpret.c'

abnormal program termination

--

Reply via email to