Bug 1187 – Segfault with syntax error in two-level mixin.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2007-04-24T13:22:00Z
Last change time
2014-02-16T15:24:17Z
Keywords
diagnostic, ice-on-invalid-code, patch
Assigned to
bugzilla
Creator
clugdbug
Comments
Comment #0 by clugdbug — 2007-04-24T13:22:14Z
Several kinds of syntax error seem to do it.
-----------
void a(){
mixin(`mixin`);
}
------------
and the next one doesn't segfault, but has no line number (identifier expected, not EOF):
mixin(`mixin`);