diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr36227.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr36227.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr36227.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr36227.c deleted file mode 100644 index 462b2c4f0..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr36227.c +++ /dev/null @@ -1,17 +0,0 @@ -/* { dg-do run { target { stdint_types } } } */ - -#include <stdint.h> -extern void abort (void); -int main() -{ - int i = 1; - int *p = &i; - uintptr_t iptr; - - iptr = (uintptr_t)p - (uintptr_t)&iptr; - p = (int *)((uintptr_t)&iptr + iptr); - if (*p != 1) - abort (); - return 0; -} - |