aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/ipa/pr51759.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/ipa/pr51759.C')
-rw-r--r--gcc-4.8.1/gcc/testsuite/g++.dg/ipa/pr51759.C30
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/ipa/pr51759.C b/gcc-4.8.1/gcc/testsuite/g++.dg/ipa/pr51759.C
deleted file mode 100644
index 1acb7cf1f..000000000
--- a/gcc-4.8.1/gcc/testsuite/g++.dg/ipa/pr51759.C
+++ /dev/null
@@ -1,30 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-O2" } */
-
-#if __SIZEOF_INT__ == 2 && __SIZEOF_LONG__ == 4
-#define unsigned unsigned long
-#endif
-
-extern "C" void abort (void);
-struct S
-{
- void __attribute__((noinline)) set(unsigned val)
- {
- data = val;
- if (data != val)
- abort ();
- }
- int pad0;
- unsigned pad1 : 8;
- unsigned data : 24;
- int pad2;
-};
-int main()
-{
- S s;
- s.pad2 = -1;
- s.set(0);
- if (s.pad2 != -1)
- abort ();
-}
-