https://issues.dlang.org/show_bug.cgi?id=23814
--- Comment #4 from naydef <[email protected]> --- I'm using DMD64 D Compiler v2.102.2 on Linux. Compiling with: "dmd app.d -m32" I see you check func4, while my example code calls func1. Use the second example code. You can use a debugger and break where func1 is called in _Dmain, step into the function and you'll see the usage of EBX register in a function called _THUNK0, which at the end jumps to _ZN9MainClass5func1Ev. --
