summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/matrix1.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-29 06:03:42 -0700
committerYamaArashi <shadow962@live.com>2016-04-29 06:03:42 -0700
commit536c44e5e9612dc161e3da9d9f3f30e134e8242f (patch)
tree351aed8dc79f5d2f3bdb647405acb55e0e62b1d7 /gcc/testsuite/gcc.misc-tests/matrix1.c
parent10f3c226cc227a9fc6d698599b630230be792de8 (diff)
delete test suite
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/matrix1.c')
-rwxr-xr-xgcc/testsuite/gcc.misc-tests/matrix1.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/matrix1.c b/gcc/testsuite/gcc.misc-tests/matrix1.c
deleted file mode 100755
index 62c7115..0000000
--- a/gcc/testsuite/gcc.misc-tests/matrix1.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Matrix operations */
-
-#define BOUND 100
-
-int a[BOUND][BOUND],b[BOUND][BOUND],c[BOUND][BOUND];
-
-main()
-{
-int i,j,k;
-
-
-
- for (i=0; i<BOUND; i++)
- {
- for (j=0; j<BOUND; j++)
- {
- a[i][j] = 1;
- b[i][j] = 1;
- }
- }
- for (i=0; i<BOUND; i++)
- {
- for (j=0; j<BOUND; j++)
- {
- c[i][j] = 0;
- for (k=0; k<BOUND; k++)
- {
- c[i][j] = c[i][j] + a[i][k] * b[k][j];
- }
- }
- }
- for (i=0; i<BOUND; i++)
- {
- for (j=0; j<BOUND; j++)
- {
- if (c[i][j] != BOUND)
- {
- /*printf("ERROR\n");*/
- return 0;
- }
- }
- }
- i=5;
-
- exit (0);
-}