# HG changeset patch
# User Tassilo Philipp
# Date 1650800939 -7200
# Node ID 0c3f5355769db983192f905a0d3305d830cc8990
# Parent  35498b47950560876c1794950bd473ac90d3d1f4
- test code: dcmode setting order fix, test worked but was incorrect according to the definition/doc

diff -r 35498b479505 -r 0c3f5355769d test/plain_c++/test_main.cc
--- a/test/plain_c++/test_main.cc	Sun Apr 24 13:38:33 2022 +0200
+++ b/test/plain_c++/test_main.cc	Sun Apr 24 13:48:59 2022 +0200
@@ -423,8 +423,8 @@
     dcMode(pc, DC_CALL_C_DEFAULT_THIS); /* <-- needed on x64/win64 */
 
     dcBeginCallAggr(pc, s);
+    dcArgPointer(pc, &o);
     dcMode(pc, DC_CALL_C_ELLIPSIS);
-    dcArgPointer(pc, &o);
     dcArgInt(pc, 89);
     dcMode(pc, DC_CALL_C_ELLIPSIS_VARARGS);
     dcArgInt(pc, -157);