summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/subcc.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/subcc.c
parent10f3c226cc227a9fc6d698599b630230be792de8 (diff)
delete test suite
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/subcc.c')
-rwxr-xr-xgcc/testsuite/gcc.c-torture/unsorted/subcc.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/subcc.c b/gcc/testsuite/gcc.c-torture/unsorted/subcc.c
deleted file mode 100755
index d50114e..0000000
--- a/gcc/testsuite/gcc.c-torture/unsorted/subcc.c
+++ /dev/null
@@ -1,31 +0,0 @@
-foo (a, c)
-{
- int b;
-
- if (a + c >= 0) /* b < 0 ==== a < 10? */
- return a | 0x80000000;
- return 0;
-}
-
-bar (a)
-{
- if (foo (a, 10) & 0x80000000)
- printf ("y");
- else
- printf ("n");
-}
-
-main ()
-{
- bar (0);
- bar (1);
- bar (-1);
- bar (10);
- bar (-10);
- bar (11);
- bar (-11);
- bar (0x7fffffff);
- bar (-0x7fffffff);
-
- puts ("");
-}