]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/ptr-arith-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / ptr-arith-1.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/ptr-arith-1.c b/gcc/testsuite/gcc.c-torture/execute/ptr-arith-1.c
deleted file mode 100644 (file)
index 46162b8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-char *
-f (char *s, unsigned int i)
-{
-  return &s[i + 3 - 1];
-}
-
-main ()
-{
-  char *str = "abcdefghijkl";
-  char *x2 = f (str, 12);
-  if (str + 14 != x2)
-    abort ();
-  exit (0);
-}