aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/pr47446-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/pr47446-2.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/pr47446-2.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/pr47446-2.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/pr47446-2.c
deleted file mode 100644
index 5410c7f38..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/pr47446-2.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* { dg-do assemble } */
-/* { dg-require-effective-target fpic } */
-/* { dg-options "-O2 -fpic" } */
-
-extern void abort (void);
-enum
-{
- __GCONV_OK = 0,
- __GCONV_NOCONV,
- __GCONV_NODB,
- __GCONV_NOMEM,
- __GCONV_EMPTY_INPUT,
- __GCONV_FULL_OUTPUT,
- __GCONV_ILLEGAL_INPUT,
- __GCONV_INCOMPLETE_INPUT,
- __GCONV_ILLEGAL_DESCRIPTOR,
- __GCONV_INTERNAL_ERROR
-};
-int
-foo (int result)
-{
- int irreversible = 0;
- switch (result)
- {
- case __GCONV_ILLEGAL_INPUT:
- irreversible = -1L;
- break;
- case __GCONV_FULL_OUTPUT:
- irreversible = -2L;
- break;
- case __GCONV_INCOMPLETE_INPUT:
- irreversible = -3L;
- break;
- case __GCONV_EMPTY_INPUT:
- case __GCONV_OK:
- break;
- default:
- abort ();
- }
- return irreversible;
-}