[Issue 9209] ice(symbol.c) with const struct heap allocation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 14 03:18:21 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9209
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice
CC| |yebblies at gmail.com
Summary|[ICE](symbol.c line 1025) |ice(symbol.c) with const
|with const struct heap |struct heap allocation
|allocation |
Severity|normal |critical
--- Comment #1 from yebblies <yebblies at gmail.com> 2013-01-14 22:18:20 EST ---
Does not need templates:
struct Foo { int x; }
void bar(const Foo*) {}
void main () {
const f = new Foo(1);
bar(f);
}
--
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