D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 9402 - ICE with templated function returning string as fixed-size char array
Summary: ICE with templated function returning string as fixed-size char array
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: ice
Depends on:
Blocks:
 
Reported: 2013-01-26 06:42 UTC by Vladimir Panteleev
Modified: 2013-10-08 23:38 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Vladimir Panteleev 2013-01-26 06:42:32 UTC
char[1] f()() { return "A"; }
void main() { f(); }

Internal error: backend\cod3.c 618
Comment 1 Walter Bright 2013-10-08 23:38:19 UTC
Works as of dmd 2.064 head.