aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr25805.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr25805.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr25805.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/gcc.dg/pr25805.c b/gcc/testsuite/gcc.dg/pr25805.c
index 1060a96..71182c5 100644
--- a/gcc/testsuite/gcc.dg/pr25805.c
+++ b/gcc/testsuite/gcc.dg/pr25805.c
@@ -18,23 +18,3 @@ main ()
abort ();
exit (0);
}
-/* When -fzero-initialized-in-bss was in effect, we used to only allocate
- storage for d1.a. */
-/* { dg-do run } */
-/* { dg-options "" } */
-extern void abort (void);
-extern void exit (int);
-
-struct { int a; int x[]; } d1 = { 0, 0 };
-int d2 = 0;
-
-int
-main ()
-{
- d2 = 1;
- if (sizeof (d1) != sizeof (int))
- abort ();
- if (d1.x[0] != 0)
- abort ();
- exit (0);
-}