summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wunreachable-5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wunreachable-5.c')
-rw-r--r--gcc/testsuite/gcc.dg/Wunreachable-5.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/gcc.dg/Wunreachable-5.c b/gcc/testsuite/gcc.dg/Wunreachable-5.c
deleted file mode 100644
index 11dc3204da1..00000000000
--- a/gcc/testsuite/gcc.dg/Wunreachable-5.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* PR c/10175 */
-
-/* { dg-do compile } */
-/* { dg-options "-Wunreachable-code" } */
-
-int value;
-
-int main(void)
-{
- if (0)
- value = 0; /* { dg-warning "will never be executed" "" } */
- else
- value = 1;
-
- return 0;
-}
-