summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/scal.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.c-torture/unsorted/scal.c
parent10f3c226cc227a9fc6d698599b630230be792de8 (diff)
delete test suite
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/scal.c')
-rwxr-xr-xgcc/testsuite/gcc.c-torture/unsorted/scal.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/scal.c b/gcc/testsuite/gcc.c-torture/unsorted/scal.c
deleted file mode 100755
index 94e22aa..0000000
--- a/gcc/testsuite/gcc.c-torture/unsorted/scal.c
+++ /dev/null
@@ -1,19 +0,0 @@
-int g1, g2;
-
-void
-write_at (addr, off, val)
- int *addr;
- int off;
- int val;
-{
- g2 = 1;
- addr[off] = val;
- g2++;
-}
-
-main ()
-{
- g2 = 12;
- write_at (&g1, &g2 - &g1, 12345);
- printf ("%d\n", g2);
-}