[Issue 10950] [CTFE] enum "char[]" not correctly duplicated when used.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 2 12:04:56 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10950
--- Comment #3 from monarchdodra at gmail.com 2013-09-02 12:04:55 PDT ---
(In reply to comment #0)
> This behavior was seen on DMD.2.063.2 on windows. I'll test linux later.
As I thought:
//########
enum char[] s = "hello".dup;
void main()
{
char[] s1 = s;
s1[0] = 'j';
}
//########
--- killed by signal 11
//########
*THAT* is quite the error case.
--
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