[Issue 10782] New: dmd segfault with string mixin, CTFE, class, enum
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 8 12:17:18 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10782
Summary: dmd segfault with string mixin, CTFE, class, enum
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: CTFE, ice
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: nilsbossung at googlemail.com
--- Comment #0 from Nils <nilsbossung at googlemail.com> 2013-08-08 12:17:17 PDT ---
Works with v2.060. Fails since.
---
cat > test.d << code
enum e = 0;
class C {int x = e;}
string f()
{
auto c = new C();
return "";
}
mixin(f());
code
dmd -c -o- test.d
---
Segmentation fault (core dumped)
---
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list