http://bugs.winehq.org/show_bug.cgi?id=8822
--- Comment #19 from Vladimir vladimiroski@gmail.com 2008-04-27 01:22:49 --- Created an attachment (id=12504) --> (http://bugs.winehq.org/attachment.cgi?id=12504) Automated Tests.
Here are the "automated" versions:
Compiled/P-Native-ReturnInteger.exe -> Should work Compiled/P-Native-ReturnVariant.exe -> Should fail
I selected "Create Symbolic Debug Info" compiler option, not sure if it's useful, it created files:
Compiled/P-Native-ReturnInteger.pdb Compiled/P-Native-ReturnVariant.pdb
Code for both cases included.