mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 19:06:02 +03:00
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:
parent
4502ff7f2c
commit
b78ac2bb60
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue