MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/invalid'
if /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/scripts/mmc --grade java    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs  --no-intermodule-optimization --verbose-error-messages   \
	--make-optimization-interface illtyped_compare > illtyped_compare.err 2>&1; \
then false; \
else true; \
fi
Comparing illtyped_compare.err with illtyped_compare.err_exp*,
	results in illtyped_compare.err_res
** illtyped_compare.err did not match the expected error output
** (closest match was illtyped_compare.err_res1)
--- illtyped_compare.err_exp	2024-06-13 22:03:37.000000000 +1000
+++ illtyped_compare.err	2025-03-29 08:40:40.000412817 +1100
@@ -15,8 +15,8 @@
 illtyped_compare.m:022:     HeadVar__1_1: comparison_result
 illtyped_compare.m:022:     HeadVar__2_2: illtyped_compare.bar_rep
 illtyped_compare.m:022:     HeadVar__3_3: illtyped_compare.bar_rep
-illtyped_compare.m:022:     CastX_4:      int
-illtyped_compare.m:022:     CastY_5:      int
+illtyped_compare.m:022:     CastX_4:      c_pointer
+illtyped_compare.m:022:     CastY_5:      c_pointer
 illtyped_compare.m:022: In clause for unification predicate for type `bar_rep':
 illtyped_compare.m:022:   in call to predicate
 illtyped_compare.m:022:   `illtyped_compare.compare_bar'/3:
@@ -34,5 +34,5 @@
 illtyped_compare.m:022:     HeadVar__1_1: illtyped_compare.bar_rep
 illtyped_compare.m:022:     HeadVar__2_2: illtyped_compare.bar_rep
 illtyped_compare.m:022:     Result_3:     comparison_result
-illtyped_compare.m:022:     CastX_4:      int
-illtyped_compare.m:022:     CastY_5:      int
+illtyped_compare.m:022:     CastX_4:      c_pointer
+illtyped_compare.m:022:     CastY_5:      c_pointer
gmake[3]: *** [../Mmake.common:166: illtyped_compare.err_res] Error 1
gmake[3]: Target 'illtyped_compare.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/invalid'