D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7005 - extern(C) mangling should always be flat
Summary: extern(C) mangling should always be flat
Status: RESOLVED DUPLICATE of issue 6132
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other All
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 06:13 UTC by Martin Nowak
Modified: 2011-11-26 11:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Martin Nowak 2011-11-25 06:13:05 UTC
template foo()
{
    extern(C) void bar(int i);
}

pragma(msg, foo!().bar.mangleof);
// is: _D4bug38__T3fooZ3barUiZv should be: bar

----

related:
http://d.puremagic.com/issues/show_bug.cgi?id=6132
Comment 1 Martin Nowak 2011-11-26 11:40:56 UTC

*** This issue has been marked as a duplicate of issue 6132 ***