aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/switch-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/switch-4.c')
-rw-r--r--gcc/testsuite/gcc.dg/switch-4.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/gcc.dg/switch-4.c b/gcc/testsuite/gcc.dg/switch-4.c
deleted file mode 100644
index f2d85300d90..00000000000
--- a/gcc/testsuite/gcc.dg/switch-4.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* PR middle-end/17657 */
-/* { dg-do compile } */
-/* { dg-options "-O2" } */
-
-extern signed char foo(int);
-
-void bar (void)
-{
- signed char tmp = foo (0);
- int t1 = tmp;
- switch (t1)
- {
- case 1: foo (1); break;
- case 2: foo (2); break;
- case 3: foo (3); break;
- case 4: foo (4); break;
- case 5: foo (5); break;
- case 6: foo (6); break;
- case 7: foo (7); break;
- case 255: foo (8); break;
- default: break;
- }
-}
-