File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -560,10 +560,10 @@ private final class CppMangleVisitor : Visitor
560
560
}
561
561
else
562
562
{
563
- append(ti.tempdecl);
564
563
this .writeNamespace(
565
564
s.namespace, () {
566
565
this .writeIdentifier(ti.tempdecl.toAlias().ident);
566
+ append(ti.tempdecl);
567
567
template_args(ti);
568
568
}, haveNE);
569
569
}
Original file line number Diff line number Diff line change @@ -1155,3 +1155,16 @@ version (Posix)
1155
1155
static assert (fun20022_5.mangleof == ` _ZN7ns2002210fun20022_5ENS_11Enum20022_1E` );
1156
1156
static assert (fun20022_6.mangleof == ` _ZN7ns2002210fun20022_6ENS_11Enum20022_2E` );
1157
1157
}
1158
+
1159
+ // https://issues.dlang.org/show_bug.cgi?id=20094
1160
+ version (Posix )
1161
+ {
1162
+ extern (C++ , " ns20094" )
1163
+ {
1164
+ struct xvector20094 (T) {}
1165
+ alias V20094 = xvector20094! (ubyte );
1166
+ }
1167
+
1168
+ extern (C++ ) void test20094(xvector20094! (V20094 )* v);
1169
+ static assert (test20094.mangleof == ` _Z9test20094PN7ns2009412xvector20094IS0_IhEEE` );
1170
+ }
You can’t perform that action at this time.
0 commit comments