File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1267,6 +1267,14 @@ public:
1267
1267
}
1268
1268
}
1269
1269
1270
+ override void visit (FuncExp e)
1271
+ {
1272
+ if (e.td)
1273
+ mangleSymbol(e.td);
1274
+ else
1275
+ mangleSymbol(e.fd);
1276
+ }
1277
+
1270
1278
// //////////////////////////////////////////////////////////////////////////
1271
1279
1272
1280
override void visit (Parameter p)
Original file line number Diff line number Diff line change @@ -618,6 +618,12 @@ static assert(funcd.mangleof == "_D6mangle5funcdFPFZNnZi");
618
618
619
619
/* **************************************************/
620
620
621
+ struct S21753 { void function () f1; }
622
+ void fun21753 (S21753 v)() {}
623
+ alias fl21753 = (){};
624
+ static assert ((fun21753! (S21753 (fl21753))).mangleof == " _D6mangle__T8fun21753VSQv6S21753S1_DQBi10" ~ fl21753.stringof ~ " MFNaNbNiNfZvZQCaQp" );
625
+
626
+ /* **************************************************/
621
627
void main ()
622
628
{
623
629
test10077h();
You can’t perform that action at this time.
0 commit comments