aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg14.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg14.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/rfg14.C15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg14.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg14.C
deleted file mode 100644
index 8475ecd6c81..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/rfg14.C
+++ /dev/null
@@ -1,15 +0,0 @@
-void *vp;
-int (*ap)[];
-struct S *sp;
-union U *up;
-int (*fp)();
-
-void
-test ()
-{
- vp++; /* ERROR - incrementing void * */
- ap++; /* ERROR - incrementing ptr to incomplete type */
- sp++; /* ERROR - incrementing ptr to incomplete type */
- up++; /* ERROR - incrementing ptr to incomplete type */
- fp++; /* ERROR - incrementing ptr to function */
-}