[Issue 3769] Regression: Segfault(constfold.c) array literals and case statements
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 5 02:17:55 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3769
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-02-05 02:17:54 PST ---
Better test case, works for both D1 and D2:
---
const char[][ 89 ] ENUM_NAME = [ 1:"N0" ];
void bug3769()
{
switch(`Hi`.dup) {
case ENUM_NAME[1]:
}
}
----
--
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