mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 13:40:11 +03:00
Fix 23722 - Lambdas are mangled incorrectly when using multiple compi… (#15343)
* Fix 23722 - Lambdas are mangled incorrectly when using multiple compilation units, resulting in incorrect code * Update test cases
This commit is contained in:
parent
4c645bbaf9
commit
a3abf1187e
44 changed files with 102 additions and 84 deletions
|
@ -9,7 +9,7 @@ fail_compilation/cppvar.d(21): Error: variable `cppvar.staticVar` cannot have `e
|
|||
fail_compilation/cppvar.d(21): perhaps declare it as `__gshared` instead
|
||||
fail_compilation/cppvar.d(22): Error: variable `cppvar.sharedVar` cannot have `extern(C++)` linkage because it is `shared`
|
||||
fail_compilation/cppvar.d(22): perhaps declare it as `__gshared` instead
|
||||
fail_compilation/cppvar.d(30): Error: delegate `cppvar.__lambda7` cannot return type `bool[3]` because its linkage is `extern(C++)`
|
||||
fail_compilation/cppvar.d(30): Error: delegate `cppvar.__lambda_L30_C46` cannot return type `bool[3]` because its linkage is `extern(C++)`
|
||||
---
|
||||
*/
|
||||
#line 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue