[Issue 484] New: Compiler segfault with template variadic used as a template alias.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 6 01:41:33 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=484
Summary: Compiler segfault with template variadic used as a
template alias.
Product: D
Version: 0.173
Platform: PC
OS/Version: Windows
Status: NEW
Severity: minor
Priority: P5
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: clugdbug at yahoo.com.au
I'm not sure what this should do, actually -- but it shouldn't crash.
--------
template g(alias B)
{
int g = 2;
}
int f(A...)(A a)
{
return g!(a);
}
int main()
{
return f(4);
}
--
More information about the Digitalmars-d-bugs
mailing list