aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr45967-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr45967-3.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr45967-3.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr45967-3.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr45967-3.c
deleted file mode 100644
index 1a23a773b..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr45967-3.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* { dg-do run } */
-
-extern void abort (void);
-void
-foo (void *p_)
-{
- int *p;
- int i;
- for (i = 0; i < sizeof(int *); ++i)
- ((char *)&p)[i] = ((char *)p_)[i];
- *p = 1;
-}
-int main()
-{
- int i = 0;
- int *p = &i;
- foo (&p);
- if (i != 1)
- abort ();
- return 0;
-}