[Issue 639] New: Escaped tuple parameter ICEs dmd
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 3 09:22:01 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=639
Summary: Escaped tuple parameter ICEs dmd
Product: D
Version: 0.176
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: kinaba at is.s.u-tokyo.ac.jp
// credit goes to http://pc8.2ch.net/test/read.cgi/tech/1158013550/956
T* f(T...)(T x) {
return null;
}
void main() {
auto x = f(2,3,4);
*x = *x;
}
----------------
Assertion failure: '0' on line 697 in file 'glue.c'
abnormal program termination
Although dmd 0.176 prohibits tuple return types,
it still seems to suffer pointers-to-tuple, arrays-of-tuple, etc.
--
More information about the Digitalmars-d-bugs
mailing list