1 // PERMUTE_ARGS: -preview=dip1000
3 // Mangling should be the same with or without inference of `return scope`
7 auto foo(void* p) { return 0; }
8 static assert(typeof(foo).mangleof == "FNaNbNiNfPvZi");
10 auto bar(void* p) { return p; }
11 static assert(typeof(bar).mangleof == "FNaNbNiNfPvZQd");
13 // https://issues.dlang.org/show_bug.cgi?id=19857
27 //pragma(msg, S.top.mangleof);
30 static assert(S.top.mangleof == "_D10scopeinfer__T5StackZQh3topMFNaNbNcNiNfZPi");