[Issue 1927] New: dmd SEGV when passing invalid symbol as parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 17 17:21:16 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1927
Summary: dmd SEGV when passing invalid symbol as parameter
Product: D
Version: 2.012
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: webmaster at villagersonline.com
NOTE: This has some similarities to 1897, but seems different to me, so I
posted a new bug for this one.
dmd 2.012, Linux (Fedora Core 6 x86_64)
The following code will cause dmd to SEGV:
BEGIN CODE
void foo(char c, TPL...)() {}
void bar()
{
foo!('[', baz, ']')();
}
END CODE
Note that dmd runs just fine if "baz" is changed to a valid symbol.
--
More information about the Digitalmars-d-bugs
mailing list