aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/xorn.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/xorn.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/unsorted/xorn.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/xorn.c b/gcc/testsuite/gcc.c-torture/unsorted/xorn.c
deleted file mode 100644
index d7b75f936bd..00000000000
--- a/gcc/testsuite/gcc.c-torture/unsorted/xorn.c
+++ /dev/null
@@ -1,31 +0,0 @@
-int
-xorn (a, b)
- int a, b;
-{
- return a ^ ~b;
-}
-
-int
-not (a)
- int a;
-{
- return ~a;
-}
-
-int
-xor (a, b)
- int a, b;
-{
- return a ^ b;
-}
-
-main ()
-{
- int i, j;
-
- for (i = 0; i <= 1; i++)
- for (j = 0; j <= 1; j++)
- printf ("%d op %d = %d = %d?\n", i, j,
- 1 & xor (i, not (j)),
- 1 & xorn (i, j));
-}