Skip to content

Commit

Permalink
Merge pull request #4935 from rainers/issue14951
Browse files Browse the repository at this point in the history
Fix issue 14951 - VC mangling for class reference/pointer
  • Loading branch information
WalterBright committed Aug 23, 2015
2 parents 4cf5cf7 + 6e60e06 commit d16e409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cppmangle.c
Expand Up @@ -1436,7 +1436,7 @@ class VisualCPPMangler : public Visitor

t->accept(this);

if ((t->ty == Tpointer || t->ty == Treference) && global.params.is64bit)
if ((t->ty == Tpointer || t->ty == Treference || t->ty == Tclass) && global.params.is64bit)
{
buf.writeByte('E');
}
Expand Down

0 comments on commit d16e409

Please sign in to comment.