aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20011114-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/20011114-3.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20011114-3.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20011114-3.c b/gcc/testsuite/gcc.c-torture/compile/20011114-3.c
deleted file mode 100644
index 882792525c9..00000000000
--- a/gcc/testsuite/gcc.c-torture/compile/20011114-3.c
+++ /dev/null
@@ -1,42 +0,0 @@
-typedef struct { int s, t; } C;
-C x;
-int foo (void);
-void bar (int);
-
-int baz (void)
-{
- int a = 0, c, d = 0;
- C *b = &x;
-
- while ((c = foo ()))
- switch(c)
- {
- case 23:
- bar (1);
- break;
- default:
- break;
- }
-
- if (a == 0 || (a & 1))
- {
- if (b->s)
- {
- if (a)
- bar (1);
- else
- a = 16;
- }
- else if (b->t)
- {
- if (a)
- bar (1);
- else
- a = 32;
- }
- }
-
- if (d && (a & ~127))
- bar (2);
- return 0;
-}