aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/tst/array.c
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 15:28:16 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 15:28:16 +0000
commit74f0ff6259b3cfa4862ea45a9e70db5acf3ab347 (patch)
tree26941f9ed5d0322ceb46ea400a21ce024755c45b /code/tools/lcc/tst/array.c
parent4253885fcc48aa59a00da498172d4599e8950112 (diff)
downloadioquake3-aero-74f0ff6259b3cfa4862ea45a9e70db5acf3ab347.tar.gz
ioquake3-aero-74f0ff6259b3cfa4862ea45a9e70db5acf3ab347.zip
* Removed the lcc self tests -- there are none that test bytecode
git-svn-id: svn://svn.icculus.org/quake3/trunk@227 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools/lcc/tst/array.c')
-rw-r--r--code/tools/lcc/tst/array.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/code/tools/lcc/tst/array.c b/code/tools/lcc/tst/array.c
deleted file mode 100644
index 4c967e7..0000000
--- a/code/tools/lcc/tst/array.c
+++ /dev/null
@@ -1,48 +0,0 @@
-int x[3][4], *y[3];
-
-main() {
- int z[3][4];
- int i, j, *p;
-
- for (i = 0; i < 3; i++) {
- for (j = 0; j < 4; j++)
- x[i][j] = 1000*i + j;
- y[i] = x[i];
- }
- f();
- for (i = 0; i < 3; i++) {
- y[i] = p = &z[i][0];
- for (j = 0; j < 4; j++)
- p[j] = x[i][j];
- }
- g(z, y);
- return 0;
-}
-
-f() {
- int i, j;
-
- for (i = 0; i < 3; i++)
- for (j = 0; j < 4; j++)
- printf(" %d", x[i][j]);
- printf("\n");
- for (i = 0; i < 3; i++)
- for (j = 0; j < 4; j++)
- printf(" %d", y[i][j]);
- printf("\n");
-}
-
-g(x, y)
-int x[][4], *y[];
-{
- int i, j;
-
- for (i = 0; i < 3; i++)
- for (j = 0; j < 4; j++)
- printf(" %d", x[i][j]);
- printf("\n");
- for (i = 0; i < 3; i++)
- for (j = 0; j < 4; j++)
- printf(" %d", y[i][j]);
- printf("\n");
-}