Fixup lit-test codegen/assign_struct_init_without_stack.d

An *inferred* `return` function attribute doesn't affect the mangled name
anymore with 2.086 (dlang/dmd#9508).

I haven't checked why it has been working before and only fails since
advancing to DMD stable.
This commit is contained in:
Martin Kinkelin 2019-05-22 22:28:50 +02:00
parent 4502ff7f2c
commit b78ac2bb60

View file

@ -68,7 +68,7 @@ struct OpAssignStruct {
float[10] data;
ubyte a;
ref OpAssignStruct opAssign(R)(auto ref R rhs) {
ref OpAssignStruct opAssign(R)(auto ref R rhs) return {
return this;
}
}