[Issue 616] New: ICE defining templates with unallowed template parameter types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 28 05:38:37 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=616
Summary: ICE defining templates with unallowed template parameter
types
Product: D
Version: 0.175
Platform: PC
OS/Version: Windows
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: brunodomedeiros+bugz at gmail.com
ICE defining templates with unallowed template parameter types.
Any of the following one-liners crash the compiler:
-------
template Tpl1(int[] T) { }
template Tpl2(int[1] T) { }
template Tpl3(Object T) { }
--
More information about the Digitalmars-d-bugs
mailing list