[m-rev.] diff: fix failure of tests/hard_coded/bigtest in C# grade
Julien Fischer
jfischer at opturion.com
Mon Jul 7 11:09:12 AEST 2014
Branches: 14.01, master
Fix the failure of tests/hard_coded/bigtest in the C# grade.
tests/hard_coded/lp.m:
Add a C# foreign_proc for mkuniq/2.
Julien.
diff --git a/tests/hard_coded/lp.m b/tests/hard_coded/lp.m
index 743b277..7178e64 100644
--- a/tests/hard_coded/lp.m
+++ b/tests/hard_coded/lp.m
@@ -386,6 +386,12 @@ set_index(Tableau0, Rows0, Cols0, J, K, R, Tableau) :-
"
B = A;
").
+:- pragma foreign_proc("C#",
+ mkuniq(A::in, B::array_uo),
+ [will_not_call_mercury, promise_pure],
+"
+ B = A;
+").
:- pragma foreign_proc("Erlang",
mkuniq(A::in, B::array_uo),
[will_not_call_mercury, promise_pure],
More information about the reviews
mailing list