Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
Bug 144 - Add support for mangling C++ templates
Summary: Add support for mangling C++ templates
Status: RESOLVED FIXED
Alias: None
Product: GDC
Classification: Unclassified
Component: gdc (show other bugs)
Version: development
Hardware: All All
: --- normal
Assignee: Iain Buclaw
URL: https://github.com/D-Programming-GDC/...
Depends on:
Blocks:
 
Reported: 2014-07-21 18:37 CEST by Iain Buclaw
Modified: 2016-09-17 08:17 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Buclaw 2014-07-21 18:37:49 CEST
Testcase:

struct Array(T)
{
    size_t dim;
    T* data;
}

extern(C++)
void foo(Array!int arr)
{
}


Currently ICE's at:
dfrontend/cppmangle.c:154: void CppMangleVisitor::cpp_mangle_name(Dsymbol*): Assertion `0' failed.


This should be fixed for DDMD support.
Comment 1 Iain Buclaw 2016-09-17 08:17:04 CEST
Support was added a while ago.

https://github.com/D-Programming-GDC/GDC/pull/131