trivial diff: fix tests/hard_coded/no_inline.m

Simon Taylor stayl at cs.mu.OZ.AU
Wed Aug 12 10:30:38 AEST 1998


Estimated hours taken: 0.25

tests/hard_coded/no_inline.m:
	Add explicit `will_not_call_mercury's. Otherwise weird things happen.


Index: no_inline.m
===================================================================
RCS file: /home/staff/zs/imp/tests/hard_coded/no_inline.m,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -t -u -r1.1 -r1.2
--- no_inline.m	1997/06/27 04:04:49	1.1
+++ no_inline.m	1998/08/12 00:28:41	1.2
@@ -24,7 +24,7 @@
 #include <stdio.h>
 ").
 
-:- pragma c_code(bar(IO0::di, IO::uo), "
+:- pragma c_code(bar(IO0::di, IO::uo), will_not_call_mercury, "
         /* START INLINING */
 {
         static int i = 0;
@@ -46,7 +46,7 @@
 ").
 
 
-:- pragma c_code(baz(IO0::di, IO::uo), "
+:- pragma c_code(baz(IO0::di, IO::uo), will_not_call_mercury, "
         IO = IO0;
         proceed();
 ").



More information about the developers mailing list