https://bugs.documentfoundation.org/show_bug.cgi?id=145279
--- Comment #3 from Jean-Pierre Ledure <[email protected]> --- (In reply to Andreas Heinisch from comment #1) > Tested with MS, returns both times 10. I would expect twice 11, not 10 ?? > > "Constants passed as arguments by reference cause unexpected behavior if > their value is modified in the > called routine. The value may arbitrarily change back inside the called > routine." This reminder does not seem relevant in the actual context. Passing a variable instead of a constant in the Main() routine does not change the behaviour. -- You are receiving this mail because: You are the assignee for the bug.
