mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-30 10:41:23 -07:00
Used bogus var to count
Copied from Perforce Change: 21201 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
d71facd369
commit
5ea4f2dece
1 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
TEST_HEADER
|
||||
id = $HopeName$
|
||||
id = $HopeName: MMQA_test_function!31.c(trunk.4) $
|
||||
summary = regression test for request.dylan.170459 (scanning and buffers in AWL)
|
||||
language = c
|
||||
link = testlib.o awlfmt.o
|
||||
|
|
@ -12,8 +12,10 @@ END_HEADER
|
|||
#include "mpscamc.h"
|
||||
#include "awlfmt.h"
|
||||
|
||||
|
||||
void *stackpointer;
|
||||
|
||||
|
||||
static void test(void)
|
||||
{
|
||||
mps_space_t space;
|
||||
|
|
@ -27,7 +29,6 @@ static void test(void)
|
|||
mycell *a, *b, *c;
|
||||
|
||||
int i;
|
||||
int j;
|
||||
|
||||
alloccomments = 1;
|
||||
fixcomments = 1;
|
||||
|
|
@ -73,7 +74,8 @@ static void test(void)
|
|||
|
||||
for(i=0; i<1000; i++) {
|
||||
b = allocdumb(apamc, 0x400*1024, 0);
|
||||
comment("%i of 1000.", j);
|
||||
if (i % 50 == 0)
|
||||
comment("%d of 1000.", i);
|
||||
}
|
||||
|
||||
mps_ap_destroy(apawl);
|
||||
|
|
@ -95,9 +97,9 @@ static void test(void)
|
|||
|
||||
mps_space_destroy(space);
|
||||
comment("Destroyed space.");
|
||||
|
||||
}
|
||||
|
||||
|
||||
int main(void)
|
||||
{
|
||||
void *m;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue