summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/andmem.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/andmem.c
parent10f3c226cc227a9fc6d698599b630230be792de8 (diff)
delete test suite
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/andmem.c')
-rwxr-xr-xgcc/testsuite/gcc.c-torture/unsorted/andmem.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/andmem.c b/gcc/testsuite/gcc.c-torture/unsorted/andmem.c
deleted file mode 100755
index 10bad00..0000000
--- a/gcc/testsuite/gcc.c-torture/unsorted/andmem.c
+++ /dev/null
@@ -1,22 +0,0 @@
-void p1 (p) int *p;
-{ *p &= ~0xff;
-}
-void p2 (p) int *p;
-{ *p &= ~0xff00;
-}
-void p3 (p) int *p;
-{ *p &= ~0xffff0000;
-}
-void p4 (p) int *p;
-{ *p &= ~0xffff;
-}
-
-main ()
-{
- int a;
-
- a = 0x12345678; p1 (&a); printf ("%x\n", a);
- a = 0x12345678; p2 (&a); printf ("%x\n", a);
- a = 0x12345678; p3 (&a); printf ("%x\n", a);
- a = 0x12345678; p4 (&a); printf ("%x\n", a);
-}